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

Andreas Lehmkühler commented on PDFBOX-6169:
--------------------------------------------

I've optimized the stuff behind encode/getStringWidth and IMHO there is no 
further caching needed, see PDFBOX-6287 for further details.

> Request to make PDFont.encode public
> ------------------------------------
>
>                 Key: PDFBOX-6169
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6169
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 3.0.6 PDFBox
>            Reporter: Philip Helger
>            Priority: Major
>
> Please make the following methods public:
> protected abstract byte[] encode(int unicode) throws IOException;
> I am using it in ph-pdf-layout for more efficient text rendering. 
> To make sure the library works in a module-based environment, I need to get 
> rid of the package-private override: 
> [https://github.com/phax/ph-pdf-layout/issues/62]
> Thanks, Philip



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to