You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ph...@apache.org on 2012/12/13 11:45:27 UTC

svn commit: r1421214 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java status.xml

Author: phancock
Date: Thu Dec 13 10:45:25 2012
New Revision: 1421214

URL: http://svn.apache.org/viewvc?rev=1421214&view=rev
Log:
JIRA FOP-2171: Missing Glyph in Postscript using DejaVuSans. Submitted by Simon Steiner.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
    xmlgraphics/fop/trunk/status.xml

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java?rev=1421214&r1=1421213&r2=1421214&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java Thu Dec 13 10:45:25 2012
@@ -884,6 +884,9 @@ public class TextLayoutManager extends L
             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,

Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=1421214&r1=1421213&r2=1421214&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Thu Dec 13 10:45:25 2012
@@ -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 



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org