You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/13 07:39:05 UTC
[jira] [Commented] (PDFBOX-2875) Type 1 fonts are embedded
incorrectly
[ https://issues.apache.org/jira/browse/PDFBOX-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624228#comment-14624228 ]
ASF subversion and git services commented on PDFBOX-2875:
---------------------------------------------------------
Commit 1690568 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1690568 ]
PDFBOX-2875: Better embedding of Type 1 fonts
> 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