pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1622765 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
Date Fri, 05 Sep 2014 19:19:57 GMT
Author: tilman
Date: Fri Sep  5 19:19:56 2014
New Revision: 1622765

URL: http://svn.apache.org/r1622765
Log:
PDFBOX-2325: add log message when it happens

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java?rev=1622765&r1=1622764&r2=1622765&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java Fri
Sep  5 19:19:56 2014
@@ -63,6 +63,16 @@ public class PDCIDFontType2 extends PDCI
 
         PDFontDescriptorDictionary fd = (PDFontDescriptorDictionary) getFontDescriptor();
         PDStream ff2Stream = fd.getFontFile2();
+        
+        if (ff2Stream == null)
+        {
+            PDStream ff3Stream = fd.getFontFile3();
+            if (ff3Stream != null)
+            {
+                LOG.info("fontfile3 not supported yet, subType is " + 
+                        ff3Stream.getStream().getNameAsString(COSName.SUBTYPE));
+            }
+        }
 
         if (ff2Stream != null)
         {



Mime
View raw message