simon steiner created PDFBOX-3187:
-------------------------------------

             Summary: NullPointerException CFFParser
                 Key: PDFBOX-3187
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3187
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.0
            Reporter: simon steiner


Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.fontbox.cff.CFFParser$Format1Charset.getCIDForGID(CFFParser.java:1326)

        byte[] data  = IOUtils.toByteArray(new FileInputStream("Broadsheet 
LDO.otf"));
        CFFParser p = new CFFParser();
        CFFFont ff = p.parse(data).get(0);
        ff.getCharset().getCIDForGID(0);



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to