You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2007/11/08 09:53:35 UTC

svn commit: r593076 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/AbstractPDFStream.java

Author: jeremias
Date: Thu Nov  8 00:53:35 2007
New Revision: 593076

URL: http://svn.apache.org/viewvc?rev=593076&view=rev
Log:
Bugfix: filters were not applied but still produced into the dictionary even if the filters are disabled. Fixes a bug with PDF-in-PDF embedding.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/AbstractPDFStream.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/AbstractPDFStream.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/AbstractPDFStream.java?rev=593076&r1=593075&r2=593076&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/AbstractPDFStream.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/AbstractPDFStream.java Thu Nov  8 00:53:35 2007
@@ -225,7 +225,9 @@
      */
     protected void populateStreamDict(Object lengthEntry) {
         put("Length", lengthEntry);
-        getFilterList().putFilterDictEntries(this);
+        if (!getFilterList().isDisableAllFilters()) {
+            getFilterList().putFilterDictEntries(this);
+        }
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org