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

Tilman Hausherr commented on PDFBOX-4548:
-----------------------------------------

I don't like that new code at all because it requires changes in about every 
PDFBox code in the world, especially in the many examples in stackoverflow. It 
also adds complexity.

I haven't heard about GraalVM before. Is this something that will be "forced" 
or just a "trendy" alternative to JVM? If one uses it without the changes, does 
it mean PDFBox won't run at all or will just run at the same speed as it runs 
now?

> 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: 3.0.0 PDFBox
>
>
> {{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
(v7.6.3#76005)

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

Reply via email to