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 ad...@apache.org on 2011/04/03 11:40:27 UTC

svn commit: r1088231 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java

Author: adelmelle
Date: Sun Apr  3 09:40:27 2011
New Revision: 1088231

URL: http://svn.apache.org/viewvc?rev=1088231&view=rev
Log:
Bugzilla 50986: Fixed an issue where invalid PDF page content was generated due to incorrect ET/EMC sequences.
Thanks to Matthias Reischenbacher.

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

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java?rev=1088231&r1=1088230&r2=1088231&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java Sun Apr  3 09:40:27 2011
@@ -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();
         }
     }
 



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