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

Preserve indirect object reference when copying resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.24, 3.0.0 PDFBox
    • 2.0.25, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      In AppearanceGeneratorHelper.validateAndEnsureAcroFormResources() font resources are copied by simply reassigning the PDFont from the default resources. This removes any indirect object references which leads to doubled objects when writing the pdf.

      The issue revealed another issue with the COSWriter when lfatting the pdf from PDFBOX-4889 without compression.

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: