[
https://issues.apache.org/jira/browse/PDFBOX-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948178#comment-14948178
]
Ch. Schlatter commented on PDFBOX-3009:
---------------------------------------
>> PDFont font = context.getResources().getFont(fontId); //Returns a font from
>> type PDCIDFontType0
>> font.getStringWidth("Example String"); //Throws an
>> UnsupportedOperationException
The exception is thrown from the class PDCIDFontType0 in the method "public
byte[] encode(int unicode)" (The method is empty beside the exception)
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]