From 2cab35675db358ba46c1845f810b50ec1942812b Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Sun, 3 Apr 2011 09:40:27 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/render/pdf/PDFContentGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 2.39.5