[
https://issues.apache.org/jira/browse/PDFBOX-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396238#comment-17396238
]
ASF subversion and git services commented on PDFBOX-5254:
---------------------------------------------------------
Commit 1892139 from [email protected] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1892139 ]
PDFBOX-5254: add test
> Preserve indirect object reference 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
> Priority: Major
> 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]