aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java3
-rw-r--r--status.xml3
2 files changed, 6 insertions, 0 deletions
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.
-->
<release version="FOP Trunk" date="TBD">
+ <action context="Layout" dev="PH" type="fix" fixes-bug="FOP-2171" due-to="Simon Steiner">
+ Missing Glyph in Postscript using DejaVuSans.
+ </action>
<action context="Renderers" dev="VH" type="fix" fixes-bug="54169" due-to="Robert Meyer">
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