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/07/13 07:38:04 UTC
[jira] [Created] (PDFBOX-2875) Type 1 fonts are embedded
incorrectly
John Hewson created PDFBOX-2875:
-----------------------------------
Summary: Type 1 fonts are embedded incorrectly
Key: PDFBOX-2875
URL: https://issues.apache.org/jira/browse/PDFBOX-2875
Project: PDFBox
Issue Type: Bug
Components: PDModel
Affects Versions: 2.0.0
Reporter: John Hewson
Assignee: John Hewson
Fix For: 2.0.0
When embedding a Type 1 font, the Widths array is invalid, because the codes are ordered based on the order of the named glyphs in the font file, instead of in encoding order.
Additionally, there's an NPE because no GlyphList is set for a newly embedded PDType1Font.
There's also no way to choose the encoding, it's always taken from the AFM file.
--
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