Skip to content

Generate a PDF/A compliant CIDSet instead of using hardcoded FFFFFFFFC0#1704

Merged
blikblum merged 1 commit intofoliojs:masterfrom
andreiaugustin:cidset-pdfa1
Mar 18, 2026
Merged

Generate a PDF/A compliant CIDSet instead of using hardcoded FFFFFFFFC0#1704
blikblum merged 1 commit intofoliojs:masterfrom
andreiaugustin:cidset-pdfa1

Conversation

@andreiaugustin
Copy link
Contributor

When PDF/A-1 support was initially added, the CIDSet was hardcoded to FFFFFFFFC0 which causes issues with veraPDF when verifying (namely, this rule fails). With this change, we generate a proper CIDSet instead and allow PDF/A-1 to verify successfully.

Bug fix

What kind of change does this PR introduce?

Instead of defaulting to a harcoded CIDSet to satisfy some PDF/A verifiers, build a proper CIDSet to be compliant.

Checklist:

  • Unit Tests
  • Documentation N/A
  • Update CHANGELOG.md N/A
  • Ready to be merged

@blikblum blikblum merged commit 3644412 into foliojs:master Mar 18, 2026
3 checks passed
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.

2 participants