You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ~/go/bin/pdfcpu validate ~/Desktop/Pertanyaan\ Jawapan\ Bukan\ Lisan\ 22019.pdf
validating(mode=relaxed) /Users/mleow/Desktop/Pertanyaan Jawapan Bukan Lisan 22019.pdf ...
validation error: dict=pagesDict entry=Tabs: unsupported in version 1.4
This file could be PDF/A compliant but pdfcpu only supports versions <= PDF V1.7
Is this a bug or is their PDF generation (via iText) incorrect?
NOTE: A hexedit of the PDF version to 1.7 passes the validation. Thanks!
The text was updated successfully, but these errors were encountered:
According to the PDF spec within a page dictionary the Tabs entry is optional starting with V1.5:
I don't know why iText produces something like this, but in the real world we have also
other PDF Writers whose results pdfcpu needs to be able to digest at the end of the day,
I will extend relaxed validation to include cases like this one.
Noticed the validate command for PDF 1.4 is failing for the following:
http://www.parlimen.gov.my/files/jindex/pdf/Pertanyaan%20Jawapan%20Bukan%20Lisan%2022019.pdf
Details:
Is this a bug or is their PDF generation (via iText) incorrect?
NOTE: A hexedit of the PDF version to 1.7 passes the validation. Thanks!
The text was updated successfully, but these errors were encountered: