aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/AbstractPDFStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/AbstractPDFStream.java')
-rw-r--r--src/java/org/apache/fop/pdf/AbstractPDFStream.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/pdf/AbstractPDFStream.java b/src/java/org/apache/fop/pdf/AbstractPDFStream.java
index e208a3916..0ade68f89 100644
--- a/src/java/org/apache/fop/pdf/AbstractPDFStream.java
+++ b/src/java/org/apache/fop/pdf/AbstractPDFStream.java
@@ -225,7 +225,9 @@ public abstract class AbstractPDFStream extends PDFDictionary {
*/
protected void populateStreamDict(Object lengthEntry) {
put("Length", lengthEntry);
- getFilterList().putFilterDictEntries(this);
+ if (!getFilterList().isDisableAllFilters()) {
+ getFilterList().putFilterDictEntries(this);
+ }
}
/**