[
https://issues.apache.org/jira/browse/PDFBOX-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244332#comment-16244332
]
Mark Tanner commented on PDFBOX-3009:
-------------------------------------
I just came across the same problem.
>From what I can tell, there isn't any difference between how type0 and type2
>fonts map between character codes and Unicode.
Would it be possible to reuse the body of the PDCIDFontType2.encode() method?
> Unimplemented encoding method in PDCIDFontType0
> -----------------------------------------------
>
> Key: PDFBOX-3009
> URL: https://issues.apache.org/jira/browse/PDFBOX-3009
> Project: PDFBox
> Issue Type: Task
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Ch. Schlatter
> Priority: Minor
>
> The method "public byte[] encode(int unicode)" isn't implemented yet and
> throws an UnsupportedOperationException. (Called from PDFont ->
> getStringWidth)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]