From: Simon Steiner Date: Wed, 6 Jul 2016 09:30:09 +0000 (+0000) Subject: FOP-2619: PDF not deduplicated to PS X-Git-Tag: fop-2_2~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ad8d9f946c64cce069c1daba79e1034136edb97;p=xmlgraphics-fop.git FOP-2619: PDF not deduplicated to PS git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1751642 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java b/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java index 5f7aa7b79..e9d4ff27f 100644 --- a/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java +++ b/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java @@ -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;