diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2011-04-03 09:40:27 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2011-04-03 09:40:27 +0000 |
commit | 2cab35675db358ba46c1845f810b50ec1942812b (patch) | |
tree | 9d415232f4e8aae64d2765f6ce708f27db70c3ff /src | |
parent | 01aed3db4304ad3ffcaf6c2af3f744275a18226e (diff) | |
download | xmlgraphics-fop-2cab35675db358ba46c1845f810b50ec1942812b.tar.gz xmlgraphics-fop-2cab35675db358ba46c1845f810b50ec1942812b.zip |
Bugzilla 50986: Fixed an issue where invalid PDF page content was generated due to incorrect ET/EMC sequences.
Thanks to Martin Koegler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFContentGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java b/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java index 7cc9b7003..7a6e4e3d2 100644 --- a/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java +++ b/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java @@ -270,10 +270,10 @@ public class PDFContentGenerator { /** Indicates the end of a text object. */ protected void endTextObject() { if (textutil.isInTextObject()) { + textutil.endTextObject(); if (this.inMarkedContentSequence) { endMarkedContentSequence(); } - textutil.endTextObject(); } } |