pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1862239 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
Date Thu, 27 Jun 2019 19:07:43 GMT
Author: tilman
Date: Thu Jun 27 19:07:43 2019
New Revision: 1862239

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

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

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java?rev=1862239&r1=1862238&r2=1862239&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType2.java
Thu Jun 27 19:07:43 2019
@@ -361,7 +361,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()));
         }
 
         // CID is always 2-bytes (16-bit) for TrueType



Mime
View raw message