Skip to content

PDF using the latest standard 2.0 are not supported #951

@FrankHossfeld

Description

@FrankHossfeld

I'll use OpenPDF to create a PDF from scratch, add the PDFA/1 stuff by adding the relevant tags and use the mustungproject to create the eRechnung part. The PDF is a valid PDFA/1 (checked with several tools) and everything works fine.

The latest version of OpenPDF now support the new (from 2017 ... ;-)) PDF standard 2.0. In opposite to the standards before, a PDF starts now with %PDF-2 and no longer with %PDF-1. Running new ZUGFeRDExporterFromA1().load()) now fails. The validation is saying: Header Syntax error, First line must match %PDF-1.\d. Which is correct, bc it is now %PDF-2.

It looks like the lib used to validate PDFs does not support the latest PDF standard.

I'll checked the genereated PDF aganist several chekers. They all confirm, that the document is valid and the conformance level applied is PDF/A-1b.

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