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/02/04 02:07:34 UTC
[jira] [Resolved] (PDFBOX-2650) Type1Equivalent: TrueType must use
'cmap' when 'post' table is empty
[ https://issues.apache.org/jira/browse/PDFBOX-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson resolved PDFBOX-2650.
---------------------------------
Resolution: Fixed
> Type1Equivalent: TrueType must use 'cmap' when 'post' table is empty
> --------------------------------------------------------------------
>
> Key: PDFBOX-2650
> URL: https://issues.apache.org/jira/browse/PDFBOX-2650
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: John Hewson
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: rg-1234567890BA.pdf
>
>
> Originally from Andreas Lüdtke on the mailing list:
> All glyphs are missing in the Helvetica font on Windows 8.1.
> {code}
> D:\__test>java -jar pdfbox-app-2.0.0-20150129.180809-996.jar PDFToImage rg-1234567890BA.pdf
> Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 77 (.notdef) in font Helvetica
> Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 97 (.notdef) in font Helvetica
> Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 114 (.notdef) in font Helvetica
> Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 107 (.notdef) in font Helvetica
> Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D getPathForCharacterCode
> WARNUNG: No glyph for 117 (.notdef) in font Helvetica
> {code}
> Some research shows that this is because the 'post' table in Arial.ttf no longer contains names (it's now format 3), which FontBox was relying on. We must fallback to the 'cmap' table in this case.
--
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