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

John Hewson commented on PDFBOX-3106:
-------------------------------------

Ok, I'll make that CFFFont method public.

{quote}
Also we used to be able to create our own new MaximumProfileTable() but this is 
not public anymore.
{quote}

You can't create any tables anymore, because FontBox can't write them. 
Basically FontBox is read-only, those setter methods were only for TTFParser in 
1.8, which is why they're now private in 2.0. If you're wanting to manipulate a 
FontBox font then I'd recommend doing it like TTFSubsetter does and then just 
parse the result as a new FontBox font. I assume as you're writing to the font 
file you must be doing something somewhat similar at the moment (as FontBox 
doesn't support writing).


> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to