You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2021/09/04 16:51:00 UTC

[jira] [Resolved] (PDFBOX-4548) Update PDType1Font to make PDFBox GraalVM native mode ready

     [ https://issues.apache.org/jira/browse/PDFBOX-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-4548.
----------------------------------------
    Fix Version/s:     (was: 4.0.0)
                   3.0.0 PDFBox
         Assignee: Andreas Lehmkühler
       Resolution: Fixed

> 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
>            Assignee: Andreas Lehmkühler
>            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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org