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 2016/03/13 11:39:35 UTC

[jira] [Commented] (PDFBOX-3271) Incomplete widths array for CID-fonts

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

ASF subversion and git services commented on PDFBOX-3271:
---------------------------------------------------------

Commit 1734781 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1734781 ]

PDFBOX-3271: use a sorted set to create a optimal width array, use another start value for prev, otherwise some of the first values might be swallowed

> Incomplete widths array for CID-fonts
> -------------------------------------
>
>                 Key: PDFBOX-3271
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3271
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>             Fix For: 2.0.0
>
>         Attachments: TTF_bad.pdf, TTF_good.pdf
>
>
> In my day job I've migrated a project to PDFBox 2.0.0 and found an issue with CID-fonts. The created width array is incomplete in some non deterministic constellations, so that the default width is used for the missing CIDs. In my case spaces had a doubled width which lead to a false rendering.
> Furthermore the CIDs aren't sorted so that the resulting width array might not be optimal



--
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