You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/12/01 14:16:36 UTC
[jira] [Closed] (PDFBOX-1786) font.getWidths empty for an embedded
Type0 font
[ https://issues.apache.org/jira/browse/PDFBOX-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler closed PDFBOX-1786.
--------------------------------------
Resolution: Not A Problem
Assignee: Andreas Lehmkühler
CID-encoded fonts don't provide a continuous list of width values starting by a specific value up o the last used character. Instead those have values for each CID (getFontWidth of the descendant font, either one specific for each or a default width for all).
In the given sample the Type0 font on the first page has the following values:
CID 3 = 226
CID 882 = 306
Not a problem -> set to closed
> font.getWidths empty for an embedded Type0 font
> -----------------------------------------------
>
> Key: PDFBOX-1786
> URL: https://issues.apache.org/jira/browse/PDFBOX-1786
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.2
> Reporter: Manuel Aristaran
> Assignee: Andreas Lehmkühler
> Attachments: strongschools.pdf
>
>
> `getWidths` returns an empty array for the font identified as DDBADO+Calibri on the attached PDF.
> Is this expected behaviour?
> Thanks.
> Manuel Aristarán
--
This message was sent by Atlassian JIRA
(v6.1#6144)