Skip to content

Conversation

@bsweeney
Copy link
Member

@bsweeney bsweeney commented Jan 20, 2025

  • Improves structure of embedded file metadata
  • Adds initial support for defining the relationship between an object and an embedded file
  • Fixes annotation flags for links

@bsweeney bsweeney added this to the 3.1.1 milestone Jan 20, 2025
@bsweeney bsweeney linked an issue Jan 21, 2025 that may be closed by this pull request
1 task
@williamdes
Copy link
Contributor

@bsweeney can this be merged ?
maybe with the phpstan annotations I suggested, else discard them I can do a PR for it

PDF names can include characters that are interpreted as operative delimeters (e.g., a slash) so long as the characters are escaped. This change adds a helper function to esacpe delimeters and characters out side the code point range of 33-126, per section 3.2.4 of the PDF 1.7 spec.
- fixes support for conditional file compression
- fixes checksum calculation for compressed file
- adds support for additional properties required by PDF/A (MimeType, ModDate)

partially addresses #3576
@Adesin-fr
Copy link

Hi @bsweeney

Sorry to urge you, but we need to be FacturX ready soon here in France, and we need this PR to be merged so we can continue using dompdf for our invoices !

Do you have by any chance some time to merge this PR ?

Thanks a lot

@bsweeney
Copy link
Member Author

Apologies for the delay I'll get back into it so we can release the update.

bsweeney and others added 3 commits May 21, 2025 09:40
Currently only implemented by the catalog object.

fixes #3576
Until Cpdf supports annotation types other than links the ony flag that needs to be set for PDF/A support is the Print flag.

fixes #3586
Co-authored-by: William Desportes <williamdes@wdes.fr>
@bsweeney bsweeney merged commit 0e5c566 into master May 21, 2025
35 checks passed
@bsweeney bsweeney deleted the pdfa-updates branch May 21, 2025 13:58
@bsweeney
Copy link
Member Author

FYI I added a note the PDF/A support document about factur-x. Probably will need some editing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants