Andreas Lehmkühler created PDFBOX-5254:
------------------------------------------

             Summary: Preserver indirect object referen when copying resources
                 Key: PDFBOX-5254
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5254
             Project: PDFBox
          Issue Type: Improvement
          Components: AcroForm
    Affects Versions: 2.0.24, 3.0.0 PDFBox
            Reporter: Andreas Lehmkühler
            Assignee: Andreas Lehmkühler
             Fix For: 2.0.25, 3.0.0 PDFBox


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to