You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2021/08/09 19:38:00 UTC
[jira] [Resolved] (PDFBOX-5254) Preserve indirect object reference
when copying resources
[ https://issues.apache.org/jira/browse/PDFBOX-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-5254.
----------------------------------------
Resolution: Fixed
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org