pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1714836 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Date Tue, 17 Nov 2015 17:35:02 GMT
Author: tilman
Date: Tue Nov 17 17:35:02 2015
New Revision: 1714836

URL: http://svn.apache.org/viewvc?rev=1714836&view=rev
Log:
PDFBOX-3108: add skipped fonts to list

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java?rev=1714836&r1=1714835&r2=1714836&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Tue Nov 17 17:35:02 2015
@@ -583,11 +583,13 @@ final class FileSystemFontProvider exten
             }
             else
             {
+                fontInfoList.add(new FSIgnored(file, FontFormat.TTF, "*skipnoname*"));
                 LOG.warn("Missing 'name' entry for PostScript name in font " + file);
             }
         }
         catch (IOException e)
         {
+            fontInfoList.add(new FSIgnored(file, FontFormat.TTF, "*skipexception*"));
             LOG.error("Could not load font file: " + file, e);
         }
         finally



Mime
View raw message