Dan Caprioara created FOP-2976:
----------------------------------

             Summary: 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


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)

Reply via email to