Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4548

Update PDType1Font to make PDFBox GraalVM native mode ready

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.16
    • Fix Version/s: 3.0.0 PDFBox
    • Component/s: PDModel
    • Labels:
      None

      Description

      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 from building a native image of PDFBox or libraries which depend on it.

      Please see TIKA-2862 for more information.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sergey_beryozkin Sergey Beryozkin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: