pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1862240 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
Date Thu, 27 Jun 2019 19:08:34 GMT
Author: tilman
Date: Thu Jun 27 19:08:34 2019
New Revision: 1862240

URL: http://svn.apache.org/viewvc?rev=1862240&view=rev
Log:
PDFBOX-4071: improve log msg

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=1862240&r1=1862239&r2=1862240&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 Thu
Jun 27 19:08:34 2019
@@ -359,7 +359,7 @@ public class PDCIDFontType2 extends PDCI
         if (cid == 0)
         {
             throw new IllegalArgumentException(
-                    String.format("No glyph for U+%04X in font %s", unicode, getName()));
+                    String.format("No glyph for U+%04X (%c) in font %s", unicode, (char)
unicode, getName()));
         }
 
         return encodeGlyphId(cid);



Mime
View raw message