]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
JIRA FOP-2171: Missing Glyph in Postscript using DejaVuSans. Submitted by Simon Steiner.
authorPeter Hancock <phancock@apache.org>
Thu, 13 Dec 2012 10:45:25 +0000 (10:45 +0000)
committerPeter Hancock <phancock@apache.org>
Thu, 13 Dec 2012 10:45:25 +0000 (10:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1421214 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
status.xml

index 573019bf614a858e99e9922d96d28cb4b5a580a3..fc7110efa2b0689b35bdad277a379ba1f3c5673f 100644 (file)
@@ -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,
index 9362983b2326c246a9831493538103602a891607..0d6141553f6746c5458ebc53e4862edf5e60f6cc 100644 (file)
@@ -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