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

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

IMHO there is a lot of room for optimizations and we should have have things 
like GraalVM in our minds when refactoring some of the effected code. However, 
those refactorings most likely will be complex and as we are planing to get 
3.0.0 out of the door as soon as possible, we have to postpone this one to 
4.0.0.

> Update PDType1Font to make PDFBox GraalVM native mode ready 
> ------------------------------------------------------------
>
>                 Key: PDFBOX-4548
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4548
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.16
>            Reporter: Sergey Beryozkin
>            Priority: Major
>             Fix For: 4.0.0
>
>
> {{org.apache.pdfbox.pdmodel.font.PDType1Font}} has statically initialized 
> PDType1Font instances with the private constructor having a code path to 
> {{org.apache.fontbox.ttf.RAFDataStream}} which opens a File.
> This prevents [GraalVM|https://github.com/oracle/graal] from building a 
> native image of PDFBox or libraries which depend on it.
> Please see [TIKA-2862|https://issues.apache.org/jira/browse/TIKA-2862] for 
> more information. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to