You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Simon Steiner (Jira)" <ji...@apache.org> on 2020/10/09 15:05:00 UTC
[jira] [Commented] (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)
[ https://issues.apache.org/jira/browse/FOP-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211072#comment-17211072 ]
Simon Steiner commented on FOP-2976:
------------------------------------
Can you list replication steps
> 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.3.4#803005)