pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1653732 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFontEmbedder.java
Date Thu, 22 Jan 2015 01:10:47 GMT
Author: jahewson
Date: Thu Jan 22 01:10:46 2015
New Revision: 1653732

URL: http://svn.apache.org/r1653732
Log:
PDFBOX-2621: Set symbolic flag when using WinAnsiEncoding

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFontEmbedder.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFontEmbedder.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFontEmbedder.java?rev=1653732&r1=1653731&r2=1653732&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFontEmbedder.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDTrueTypeFontEmbedder.java
Thu Jan 22 01:10:46 2015
@@ -61,7 +61,9 @@ final class PDTrueTypeFontEmbedder exten
         GlyphList glyphList = GlyphList.getAdobeGlyphList();
         this.fontEncoding = encoding;
         dict.setItem(COSName.ENCODING, encoding.getCOSObject());
-
+        fontDescriptor.setSymbolic(false);
+        fontDescriptor.setNonSymbolic(true);
+        
         // add the font descriptor
         dict.setItem(COSName.FONT_DESC, fontDescriptor);
 



Mime
View raw message