pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1799078 - /pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
Date Sun, 18 Jun 2017 11:50:01 GMT
Author: tilman
Date: Sun Jun 18 11:50:01 2017
New Revision: 1799078

URL: http://svn.apache.org/viewvc?rev=1799078&view=rev
Log:
PDFBOX-2852: improve message

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java?rev=1799078&r1=1799077&r2=1799078&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/ttf/TrueTypeFont.java Sun Jun 18
11:50:01 2017
@@ -513,7 +513,7 @@ public class TrueTypeFont implements Fon
         {
             if (isStrict)
             {
-                throw new IOException("The TrueType font does not contain a 'cmap' table");
+                throw new IOException("The TrueType font " + getName() + " does not contain
a 'cmap' table");
             }
             else
             {



Mime
View raw message