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

Update PDType1Font to make PDFBox GraalVM native mode ready

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.16
    • 3.0.0 PDFBox
    • PDModel
    • 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

              lehmi Andreas Lehmkühler
              sergey_beryozkin Sergey Beryozkin
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: