[jira] [Closed] (FOP-2976) Some Linux readers fail to load the PDF because of a missmatch between the declared PDF version and the actual set of PDF features (1.4 and cross reference streams)

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

Joao Goncalves closed FOP-2976.
-------------------------------
    Resolution: Abandoned

> Some Linux readers fail to load the PDF because of a missmatch between the declared PDF version and the actual set of PDF features (1.4 and cross reference streams)
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FOP-2976
>                 URL: https://issues.apache.org/jira/browse/FOP-2976
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: 2.5
>            Reporter: Dan Caprioara
>            Priority: Major
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Some Linux readers fail loading the PDFs produced by FOP. These have the version 1.4 by default. The PDF contains cross reference streams, which are defined in PDF 1.5.
> The fix would be CrossReferenceStream to increment the version of the PDF document to 1.5.
> The JavaDoc from this class:
> {quote}A cross-reference stream, as described in Section 3.4.7 of the PDF 1.5 Reference.
> {quote}
> A fix in the constructor of \{{CrossReferenceStream }}:
> {code:java}
>         document.setPDFVersion(Version.V1_5);
> {code}



--
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.