You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/08 12:16:00 UTC
[jira] [Commented] (PDFBOX-5254) Preserve indirect object reference
when copying resources
[ https://issues.apache.org/jira/browse/PDFBOX-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395518#comment-17395518 ]
ASF subversion and git services commented on PDFBOX-5254:
---------------------------------------------------------
Commit 1892111 from lehmi@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1892111 ]
PDFBOX-5254: preserve a possible indirect object reference
> 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