Skip to content

Minimal PDF/A support - #5075

Merged
laurmaedje merged 3 commits into
mainfrom
pdf/a-2b
Oct 1, 2024
Merged

laurmaedje merged 3 commits into
mainfrom
pdf/a-2b

Conversation

@laurmaedje

Copy link
Copy Markdown
Member

This pull requests adds support for optional conformance to the PDF/A-2b standard. This is realized through a new --pdf-standard CLI option which takes one (or multiple comma-separated) PDF standards that Typst should try to conform with. This list is validated for compatibility (though the current two options (1.7, a-2b) are simply always compatible). Support for more standards is planned for the future.

Closes #2995
Closes #3002
Closes #3004

Co-Authored-By: Martin Haug <[email protected]>
@reknih reknih mentioned this pull request Sep 30, 2024
14 tasks done
Comment thread crates/typst-pdf/src/color.rs Resolved
@LaurenzV

Copy link
Copy Markdown
Collaborator

Do you think there is really value in allowing selecting the PDF version as well? I think the only thing users might care about is choosing the right standard (PDF/A, PDF/UA, etc.), which themselves always dictate which PDF version must be used. And removing that would make it impossible to accidentally choose a wrong combination.

Maybe there is value in keeping it, but just thought I might ask. 🙂

@laurmaedje

Copy link
Copy Markdown
Member Author

Wrong combinations would result in an error. The idea here was to allow opt in PDF 2.0 support down the road. We wouldn't add 1.6 or lower.

@laurmaedje
laurmaedje added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit a0093ad Oct 1, 2024
@laurmaedje
laurmaedje deleted the pdf/a-2b branch October 1, 2024 09:37
Dikluwe pushed a commit to Dikluwe/typst-crystalline that referenced this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PDF/A: 6.2.11.8 .notdef glyph PDF/A: 6.2.3 Output Intent PDF/A: 6.1.13 Implementation limits

3 participants