[
https://issues.apache.org/jira/browse/PDFBOX-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3541.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
> Use /L entry to determine if a linearized file shall be treated as such for
> PDF/A validation
> --------------------------------------------------------------------------------------------
>
> Key: PDFBOX-3541
> URL: https://issues.apache.org/jira/browse/PDFBOX-3541
> Project: PDFBox
> Issue Type: Improvement
> Components: Preflight
> Affects Versions: 2.0.3
> Reporter: Maruan Sahyoun
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.4, 2.1.0
>
>
> With PDFBOX-3540 the detection of a linearized file which has later been
> updated for PDF/A validation was improved so that provisions can be properly
> applied or ignored. That could be improved by checking the /L entry of the
> linearization dictionary. The *ISO 19005-1:2005/Cor.2:2011* has this:
> {quote}
> In a linearized PDF, if the ID keyword is present in both the first page
> trailer dictionary and the last
> trailer dictionary, the value to both instances of the ID keyword shall be
> identical.
> ...
> This provision shall not apply where the value to the L key in the
> linearization dictionary does not match the actual length of the PDF.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]