From: Peter Hancock Date: Thu, 13 Dec 2012 10:45:25 +0000 (+0000) Subject: JIRA FOP-2171: Missing Glyph in Postscript using DejaVuSans. Submitted by Simon Steiner. X-Git-Tag: fop-2_0~259 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3454c1cba35870d5438fa4b02fead962c732f10d;p=xmlgraphics-fop.git JIRA FOP-2171: Missing Glyph in Postscript using DejaVuSans. Submitted by Simon Steiner. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1421214 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java index 573019bf6..fc7110efa 100644 --- a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java @@ -884,6 +884,9 @@ public class TextLayoutManager extends LeafNodeLayoutManager { if (ch == CharUtilities.SPACE && foText.getWhitespaceTreatment() == Constants.EN_PRESERVE || ch == CharUtilities.NBSPACE) { + final Font font = FontSelector.selectFontForCharacterInText(ch, + this.foText, this); + font.mapChar(ch); // preserved space or non-breaking space: // create the AreaInfo object areaInfo = new AreaInfo(nextStart, nextStart + 1, 1, 0, wordSpaceIPD, false, true, diff --git a/status.xml b/status.xml index 9362983b2..0d6141553 100644 --- a/status.xml +++ b/status.xml @@ -59,6 +59,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> + + Missing Glyph in Postscript using DejaVuSans. + Split the parent tree (the number tree corresponding to the ParentTree entry in the structure tree root) to avoid reaching the internal limits of Acrobat Pro, that would