Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF/A-1b generation does not pass format validation #2175

Closed
julien-gonzalez opened this issue Jun 4, 2024 · 0 comments
Closed

PDF/A-1b generation does not pass format validation #2175

julien-gonzalez opened this issue Jun 4, 2024 · 0 comments
Labels
bug Existing features not working as expected
Milestone

Comments

@julien-gonzalez
Copy link

Hello,
I'm trying to generate PDF/A-1b documents that must be later uploaded to a service checking the format is respected.
I'm using WeasyPrint version 60.2.

The command I used is :
weasyprint --pdf-variant pdf/a-1b --pdf-identifier 59a2255c-14a7-47e9-816d-66c9ffcab69a simple-page.html result.pdf

The 2 files, html and pdf results are enclosed to this issue : html-and-result.zip

I'm passing the result.pdf file against PDF/A-1b validators (https://demo.verapdf.org/ is one of them).
The validators tell me that the document isn't a valid PDF/A-1b document because it's not respecting the Rule 6.7.2-2 :

Metadata object stream dictionaries shall not contain the Filter key.

Following the message shown by weasyprint during PDF/A-1b generation, I'm opening an issue to check if there a solution to my problem.

Thanks in advance for you help.

@liZe liZe closed this as completed in 550ed63 Jun 5, 2024
@liZe liZe added the bug Existing features not working as expected label Jun 5, 2024
@liZe liZe added this to the 63.0 milestone Jun 5, 2024
liZe added a commit that referenced this issue Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants