pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1622904 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/container/TrueTypeContainer.java
Date Sat, 06 Sep 2014 18:47:18 GMT
Author: jahewson
Date: Sat Sep  6 18:47:18 2014
New Revision: 1622904

URL: http://svn.apache.org/r1622904
Log:
PDFBOX-2317: ZapfDingbats uses its own glyph list (Preflight)

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/container/TrueTypeContainer.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/container/TrueTypeContainer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/container/TrueTypeContainer.java?rev=1622904&r1=1622903&r2=1622904&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/container/TrueTypeContainer.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/font/container/TrueTypeContainer.java
Sat Sep  6 18:47:18 2014
@@ -163,7 +163,7 @@ public class TrueTypeContainer extends F
         {
             Encoding fontEncoding = this.trueTypeFont.getEncoding();
             String name = fontEncoding.getName(cid);
-            String character = GlyphList.toUnicode(name);
+            String character = GlyphList.DEFAULT.toUnicode(name);
             if (character == null)
             {
                 return notFoundGlyphID;



Mime
View raw message