pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1618899 - /pdfbox/branches/no-awt/fontbox/src/main/java/org/apache/fontbox/cff/CFFParser.java
Date Tue, 19 Aug 2014 17:09:42 GMT
Author: jahewson
Date: Tue Aug 19 17:09:41 2014
New Revision: 1618899

URL: http://svn.apache.org/r1618899
Log:
PDFBOX-2262: Fix CIDFont typo:

Modified:
    pdfbox/branches/no-awt/fontbox/src/main/java/org/apache/fontbox/cff/CFFParser.java

Modified: pdfbox/branches/no-awt/fontbox/src/main/java/org/apache/fontbox/cff/CFFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/no-awt/fontbox/src/main/java/org/apache/fontbox/cff/CFFParser.java?rev=1618899&r1=1618898&r2=1618899&view=diff
==============================================================================
--- pdfbox/branches/no-awt/fontbox/src/main/java/org/apache/fontbox/cff/CFFParser.java (original)
+++ pdfbox/branches/no-awt/fontbox/src/main/java/org/apache/fontbox/cff/CFFParser.java Tue
Aug 19 17:09:41 2014
@@ -1005,11 +1005,11 @@ public class CFFParser
         charset.range = new Format2Charset.Range2[0];
         if (isCIDFont)
         {
-            charset.addSID(0, 0, ".notdef");
+            charset.addCID(0, 0);
         }
         else
         {
-            charset.addCID(0, 0);
+            charset.addSID(0, 0, ".notdef");
         }
 
         for (int gid = 1; gid < nGlyphs; gid++)



Mime
View raw message