From 3ad8d9f946c64cce069c1daba79e1034136edb97 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Wed, 6 Jul 2016 09:30:09 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/fop/render/ps/PSImageUtils.java | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.5