]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2619: PDF not deduplicated to PS
authorSimon Steiner <ssteiner@apache.org>
Wed, 6 Jul 2016 09:30:09 +0000 (09:30 +0000)
committerSimon Steiner <ssteiner@apache.org>
Wed, 6 Jul 2016 09:30:09 +0000 (09:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1751642 13f79535-47bb-0310-9956-ffa450edef68

fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java

index 5f7aa7b7951189768895da1dafcad52da4f1e9a3..e9d4ff27f720f9d25ed58a515cf94c355fcb2c01 100644 (file)
@@ -48,9 +48,6 @@ public class PSImageUtils extends org.apache.xmlgraphics.ps.PSImageUtils {
      * @return true if the image shall be inlined, false if forms shall be used.
      */
     public static boolean isImageInlined(ImageInfo info, PSRenderingContext renderingContext) {
-        if (info.getMimeType().equals("application/pdf")) {
-            return true;
-        }
         String uri = info.getOriginalURI();
         if (uri == null || "".equals(uri)) {
             return true;