[
https://issues.apache.org/jira/browse/PDFBOX-3106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018357#comment-15018357
]
John Hewson commented on PDFBOX-3106:
-------------------------------------
Ok, now in 2.0 you can get the charstring bytes by glyph name as follows:
{code}
CFFType1Font font = ...
byte[] bytes = font.getCharStringBytes(font.nameToGID("foo"));
{code}
> Allow access to font data
> -------------------------
>
> Key: PDFBOX-3106
> URL: https://issues.apache.org/jira/browse/PDFBOX-3106
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: simon steiner
> Assignee: John Hewson
> Fix For: 2.0.0
>
>
> In CFFFont we used to have:
> public Map<String, byte[]> getCharStringsDict()
> now we have:
> List<byte[]> getCharStringBytes()
> Also we used to be able to create our own new MaximumProfileTable() but this
> is not public anymore.
> Can it be public also.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]