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:26:11 UTC

[jira] [Closed] (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:all-tabpanel ]

John Hewson closed PDFBOX-3098.
-------------------------------
    Resolution: Invalid

That's correct. You're expecting an OTF font, which is a CFF font with an SFNT wrapper. However, PDF supports "bare" CFF fonts, which is just the CFF data without an SFNT wrapper. The file extension for these is .cff and they can be opened with FontForge, but few other tools.

> 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