You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/01/12 18:56:35 UTC

[jira] [Updated] (PDFBOX-2598) IllegalArgumentException in CFFParser.readCharset

     [ https://issues.apache.org/jira/browse/PDFBOX-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-2598:
------------------------------------
    Attachment: PDFBOX-2598-020616-p3.pdf

> 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
>              Labels: regression
>         Attachments: PDFBOX-2598-020616-p3.pdf
>
>
> {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)