[
https://issues.apache.org/jira/browse/PDFBOX-2571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253353#comment-14253353
]
John Hewson commented on PDFBOX-2571:
-------------------------------------
The missing delta on p11 is interesting. OS X Preview doesn't show it, but
Adobe Reader and Foxit do. The embedded Type1C font has no charset, which makes
it invalid. However, it seems that Adobe Reader is treating the font as having
an 'identity' charset, i.e. GID = CID.
> IllegalStateException: Not a CIDFont
> ------------------------------------
>
> Key: PDFBOX-2571
> URL: https://issues.apache.org/jira/browse/PDFBOX-2571
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: 518330.pdf, GWG090_Font-Support_x3.pdf,
> bugzilla867751.pdf
>
>
> {code}
> Exception in thread "main" java.lang.IllegalStateException: Not a CIDFont
> at org.apache.fontbox.cff.CFFCharset.getGIDForCID(CFFCharset.java:134)
> at
> org.apache.fontbox.cff.CFFCIDFont.getType2CharString(CFFCIDFont.java:227)
> at
> org.apache.pdfbox.pdmodel.font.PDCIDFontType0.getType2CharString(PDCIDFontType0.java:224)
> at
> org.apache.pdfbox.rendering.font.CIDType0Glyph2D.getPathForCharacterCode(CIDType0Glyph2D.java:63)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)