From 3454c1cba35870d5438fa4b02fead962c732f10d Mon Sep 17 00:00:00 2001 From: Peter Hancock Date: Thu, 13 Dec 2012 10:45:25 +0000 Subject: [PATCH] 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 --- .../org/apache/fop/layoutmgr/inline/TextLayoutManager.java | 3 +++ status.xml | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.39.5