You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2015/11/11 19:33:10 UTC

[jira] [Commented] (PDFBOX-3098) getFontFile2() doesn't extract a valid font file for CID Type 2 fonts

    [ https://issues.apache.org/jira/browse/PDFBOX-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000861#comment-15000861 ] 

John Hewson commented on PDFBOX-3098:
-------------------------------------

I should add that it's also common to see fonts with no Unicode mapping and no cmap table where the glyphs are accused in the PDF using the glyph id (GID). Again, we can't build a cmap table from that.

> getFontFile2() doesn't extract a valid font file for CID Type 2 fonts
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-3098
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3098
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: FontBox
>    Affects Versions: 2.0.0
>         Environment: Windows 10
>            Reporter: Ch. Schlatter
>
> I tried to extract an CID Type 2 font (proceed as described in the ExtractTTFFonts.java example). It seems that the extracted font isn't valid due the missing cmap table. Maybe it's possible to add an default table?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org