[jira] [Commented] (FOP-3245) fox:external-document - PDF/UA template with PDF/UA attachments not PDF/UA

"Joao Goncalves (Jira)" <[email protected]>
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/FOP-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017102#comment-18017102 ] 

Joao Goncalves commented on FOP-3245:
-------------------------------------

[https://github.com/apache/xmlgraphics-fop/commit/ea5d9b585dec6867c52e0231c1761b4c3d7626ab]

> fox:external-document - PDF/UA template with PDF/UA attachments not PDF/UA
> --------------------------------------------------------------------------
>
>                 Key: FOP-3245
>                 URL: https://issues.apache.org/jira/browse/FOP-3245
>             Project: FOP
>          Issue Type: Improvement
>          Components: renderer/pdf
>    Affects Versions: 2.10
>            Reporter: Martin Leitner
>            Assignee: Joao Goncalves
>            Priority: Major
>         Attachments: arial.ttf, arialbd.ttf, arialbi.ttf, ariali.ttf, fop.xconf, page1.fo, page1.pdf, page1_and_doc.fo, page2.fo, page2.pdf, page2_and_doc.fo
>
>
> When attaching a PDF that is PDF/UA compliant to a PDF/UA template via fox:external-document, the result is a PDF that is not compliant with PDF/UA
>  
> Replication Steps:
> Set accessibility to true, and add PDF/UA profile to the pdf part of the fop config.
> Produce a simple PDF/UA, e.g. by using the attached files and running
> call fop -fo page1.fo -c fop.xconf -pdf page1.pdf
> Then render a different FO that includes an existing PDF/UA like this:
> call fop -fo page2_and_doc.fo -c fop.xconf -pdf page2_and_doc.pdf
>  
> The resulting PDF should again be PDF/UA, but it is not. It seems that the structure tree from the referenced PDF is not added to the result at all.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.