diff options
author | Jeremias Maerki <jeremias@apache.org> | 2007-11-08 08:53:35 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2007-11-08 08:53:35 +0000 |
commit | ada41f6dba25b98ed9068942708d42ac9a7301bc (patch) | |
tree | 7ee344ea3755cffd978c5953d4dcbf6b1601566c /src/java/org/apache/fop | |
parent | c77f6200e9e91663e876bb1adc936f946f278908 (diff) | |
download | xmlgraphics-fop-ada41f6dba25b98ed9068942708d42ac9a7301bc.tar.gz xmlgraphics-fop-ada41f6dba25b98ed9068942708d42ac9a7301bc.zip |
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.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/pdf/AbstractPDFStream.java | 4 |
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); + } } /** |