Skip to content

Errors in various example PDF files #226

Open
@petervwyatt

Description

@petervwyatt
  • Most of the PDFs have incorrect PDF versions according to their content - its probably safer and far easier to just set the version to PDF 1.7 and not have to worry about things.

  • ProcSets were deprecated back in PDF 1.4 (early 2000s) and only apply to PDF 1.3 features for PostScript compatibility reasons. They cannot be used with PDF 1.4 and later. Just remove them as no PDF processor requires them anymore as no one implements PDF via PS procedure sets since the mid 2000s!

  • sample_form.pdf:

    • invalid PDF date string for key CreationDate (DocInfo): "20200816155332-04'00'"
    • invalid PDF date string for key ModDate (DocInfo): "20200816155332-04'00'"
    • Panose (StyleDict) in PDF 1.7 should be a 12-byte string but is zero bytes
  • unipdf-tables-division-layout.pdf:

    • Document Catalog minor version is earlier than PDF header version.
  • unipdf-templates-documentation.pdf:

    • Document Catalog minor version is earlier than PDF header version.
  • unipdf-tables-division-layout.pdf:

    • Has an undocumented key ColorComponents in Image XObjects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions