[
https://issues.apache.org/jira/browse/PDFBOX-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557705#comment-14557705
]
Maruan Sahyoun commented on PDFBOX-2804:
----------------------------------------
In PDF/A-1
{quote}
The file trailer dictionary shall contain the ID keyword.
...
In a linearized file the ID keyword shall be present in both the first page
trailer and the last trailer dictionaries and the value of both instances of
the keyword shall be identical.
{quote}
In the corrigendum the sentence 'In a linearized ...' has been replaced by
{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. NOTE 1 PDF Reference, F.3.1 advises against having the ID keyword in
the last trailer dictionary of a linearized PDF.
{quote}
> Validate PDF/A-1b files of veraPDF project
> ------------------------------------------
>
> Key: PDFBOX-2804
> URL: https://issues.apache.org/jira/browse/PDFBOX-2804
> Project: PDFBox
> Issue Type: Task
> Components: Preflight
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Labels: veraPDF
>
> Validate the PDF/A-1b test files of the veraPDF project:
> https://github.com/veraPDF/veraPDF-corpus-PDFA-1b
> There is not yet a list that explains the meaning of the files, but some of
> the files are self-explanatory (in the outlines) and there is also this text:
> https://github.com/veraPDF/veraPDF-corpus-PDFA-1b/pull/5
> Create test file: veraPDF test suite 6-1-12-t09-fail-a.pdf
> Description: Maximum number of colorants for DeviceN exceeded. DeviceN
> colorspace contains 9 colorants.
> Create test file: veraPDF test suite 6-1-12-t10-fail-a.pdf
> Description: Character identifier greater than 65535 in CMAP dictionary.
> PDF-1.4 Specification: Appendix C "Implementation limits"
> ISO-19005-1 Specification: 6.1.12 "Implementation limits".
> Create test file: veraPDF test suite 6-1-12-t01-fail-a.pdf
> Description: Integer value out of range. Contains -2157483648 value in
> /Widths entry
> Create test file: veraPDF test suite 6-1-12-t02-fail-a.pdf
> Description: Real value out of range. Contains 60000 Tz in page content stream
> Create test file: veraPDF test suite 6-1-12-t02-fail-b.pdf
> Description: Real value out of range. Contains /Font \[8 0 R 60000\] in
> ExtGState dictionary
> Create test file: veraPDF test suite 6-1-12-t02-fail-c.pdf
> Description: Real value out of range. Contains 60000.1 Tz in page content
> stream
> Create test file: veraPDF test suite 6-1-12-t02-fail-d.pdf
> Description: Real value out of range. Contains /Font \[8 0 R 60000.1\] in
> ExtGState dictionary
> Create test file: veraPDF test suite 6-1-12-t02-fail-e.pdf
> Description: Real value out of range. Contains 60000.0 Tz in page content
> stream
> Create test file: veraPDF test suite 6-1-12-t02-fail-f.pdf
> Description: Real value out of range. Contains /Font \[8 0 R 60000.0\] in
> ExtGState dictionary
> Create test file: veraPDF test suite 6-1-12-t02-fail-l.pdf
> Description: Real value out of range. Contains -32676.9 50 Td in content
> stream
> Create test file: veraPDF test suite 6-1-12-t02-pass-g.pdf
> Description: Contains 30000 Tz in page content stream
> Create test file: veraPDF test suite 6-1-12-t02- pass -h.pdf
> Description: Contains /Font \[8 0 R 30000\] in ExtGState dictionary
> Create test file: veraPDF test suite 6-1-12-t02- pass -i.pdf
> Description: Contains 30000.1 Tz in page content stream
> Create test file: veraPDF test suite 6-1-12-t02- pass -j.pdf
> Description: Contains /Font \[8 0 R 30000.1\] in ExtGState dictionary
> Create test file: veraPDF test suite 6-1-12-t02- pass -k.pdf
> Description: Td operator contains 65568 digits in fractional part.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]