Thanks to Martin Koegler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088231 13f79535-47bb-0310-9956-ffa450edef68tags/fop-1_1rc1old
@@ -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(); | |||
} | |||
} | |||