[
https://issues.apache.org/jira/browse/FOP-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Steiner resolved FOP-1722.
--------------------------------
Fix Version/s: main
Assignee: Simon Steiner
Resolution: Fixed
https://gitbox.apache.org/repos/asf?p=xmlgraphics-fop.git;a=commit;h=120b50fdf64cf9c2a52c86d9ca4e9340dbd2715f
> [PATCH] Values in PDF Number Trees must be indirect references
> --------------------------------------------------------------
>
> Key: FOP-1722
> URL: https://issues.apache.org/jira/browse/FOP-1722
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 2.5
> Environment: Operating System: All
> Platform: All
> Reporter: Vincent Hennebert
> Assignee: Simon Steiner
> Fix For: main
>
> Attachments: patch3.txt, text.fo, text.pdf
>
>
> See PDF Reference, Third Edition, Section 3.8.5, "Number Trees": the Nums
> entry
> must be an array of key-value pairs where value is an indirect reference to
> the
> object associated with the key.
> However, the o.a.f.pdf.PDFNumsArray class does nothing to ensure that elements
> added to the array are actually indirectly referenced. So generated PDFs are
> strictly speaking invalid.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)