Tilman Hausherr created PDFBOX-2598:
---------------------------------------

             Summary: IllegalArgumentException in CFFParser.readCharset
                 Key: PDFBOX-2598
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2598
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox, Parsing
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr


{code}
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException
        at org.apache.fontbox.cff.CFFParser.readCharset(CFFParser.java:960)
        at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:401)
        at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:109)
        at 
org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:98)
        at 
org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:62)
        at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:92)
{code}
This is a regression (of PDFBOX-2571 ?): the exception occurs also in 
preflight, but this file (and others with the same problem) didn't have this 
problem a month ago.

Some debug info:
{code}
font: ACaslonExp-SemiboldItalic
charsetId: 2
isCIDFont: false
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to