[
https://issues.apache.org/jira/browse/FOP-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17701761#comment-17701761
]
Dave Roxburgh commented on FOP-1722:
------------------------------------
Attached patch resolves.
[^patch3.txt]
> 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
> 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)