svn commit: r1751642 - /xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java

[email protected]
Newsgroups gmane.text.xml.fop.cvs
Message-ID <[email protected]>
Author: ssteiner
Date: Wed Jul  6 09:30:09 2016
New Revision: 1751642

URL: http://svn.apache.org/viewvc?rev=1751642&view=rev
Log:
FOP-2619: PDF not deduplicated to PS

Modified:
    xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java

Modified: xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java?rev=1751642&r1=1751641&r2=1751642&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java (original)
+++ xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/render/ps/PSImageUtils.java Wed Jul  6 09:30:09 2016
@@ -48,9 +48,6 @@ public class PSImageUtils extends org.ap
      * @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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.