java.io.IOException: Invalid Characters codes

pdfbox-users | Jose M. Sanchez | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    UTF-8 encoded fonts

    pdfbox-users | 5 years ago | Jose M. Sanchez
    java.io.IOException: Invalid Characters codes
  2. 0

    UTF-8 encoded fonts

    pdfbox-users | 5 years ago | Jose M. Sanchez
    java.io.IOException: Invalid Characters codes

    Root Cause Analysis

    1. java.io.IOException

      Invalid Characters codes

      at org.apache.fontbox.ttf.CMAPEncodingEntry.processSubtype12()
    2. Apache FontBox
      TTFParser.parseTTF
      1. org.apache.fontbox.ttf.CMAPEncodingEntry.processSubtype12(CMAPEncodingEntry.java:218)
      2. org.apache.fontbox.ttf.CMAPEncodingEntry.initSubtable(CMAPEncodingEntry.java:97)
      3. org.apache.fontbox.ttf.CMAPTable.initData(CMAPTable.java:90)
      4. org.apache.fontbox.ttf.AbstractTTFParser.parseTables(AbstractTTFParser.java:163)
      5. org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:61)
      6. org.apache.fontbox.ttf.AbstractTTFParser.parseTTF(AbstractTTFParser.java:90)
      7. org.apache.fontbox.ttf.TTFParser.parseTTF(TTFParser.java:26)
      8. org.apache.fontbox.ttf.AbstractTTFParser.parseTTF(AbstractTTFParser.java:66)
      9. org.apache.fontbox.ttf.TTFParser.parseTTF(TTFParser.java:26)
      9 frames
    3. Apache PDFBox
      PDTrueTypeFont.loadTTF
      1. org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:204)
      2. org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:164)
      3. org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:140)
      4. org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:127)
      4 frames