pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1787449 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/FileSystemFontProvider.java
Date Fri, 17 Mar 2017 16:48:45 GMT
Author: tilman
Date: Fri Mar 17 16:48:45 2017
New Revision: 1787449

URL: http://svn.apache.org/viewvc?rev=1787449&view=rev
Log:
PDFBOX-3722: make message less scary and more informative

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=1787449&r1=1787448&r2=1787449&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
Fri Mar 17 16:48:45 2017
@@ -346,7 +346,9 @@ final class FileSystemFontProvider exten
         }
         catch (IOException e)
         {
-            LOG.error("Could not write to font cache", e);
+            LOG.warn("Could not write to font cache", e);
+            LOG.warn("Installed fonts information will have to be reloaded for each start");
+            LOG.warn("You can assign a directory to the 'pdfbox.fontcache' property");
         }
         finally
         {



Mime
View raw message