Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3541

Use /L entry to determine if a linearized file shall be treated as such for PDF/A validation

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4, 3.0.0 PDFBox
    • Component/s: Preflight
    • Labels:
      None

      Description

      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:

      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.

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              msahyoun Maruan Sahyoun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: