[ https://issues.apache.org/jira/browse/PDFBOX-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-3187. ---------------------------------------- Resolution: Fixed [~ssteiner1] Thanks for the report > 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 > Assignee: Andreas Lehmkühler > Fix For: 2.0.0 > > > Exception in thread "main" java.lang.NullPointerException > at > org.apache.fontbox.cff.CFFParser$Format1Charset.getCIDForGID(CFFParser.java:1326) > when isCIDFont is false > 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org