FOP uses an incorrect order of ET/EMC operands in some cases: BCD BT [...] EMC ET Correct would be: BCD BT [...] ET EMC [The last open element must be closed first] diff --git a/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java b/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java --- 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(); } }
Fixed in r1088231. See: http://svn.apache.org/viewvc?rev=1088231&view=rev Thanks for the patch! (and sorry for the mixed up credits... I was also working on bug 50988. I will see if I can correct that; already done in status.xml, so will be correctly reflected on the website.)
batch transition to closed; if someone wishes to restore one of these to resolved in order to perform a verification step, then feel free to do so