[
https://issues.apache.org/jira/browse/PDFBOX-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-3271.
----------------------------------------
Resolution: Fixed
After sorting the CID set the issue could be reproduced if CID 1 is used within
a font.
My fix sorts the CID set so that the width array is optimal. Values aren't
swallowed any more by choosing another start value for prev.
> 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: [email protected]
For additional commands, e-mail: [email protected]