Generate PDF/A compliant documents
Hello
react-pdf is great, nevertheless it's not possible to generate PDF/A compliant documents.
I found this thread where someone has a way to generate (easily) PDF/A document with pdfkit:
- https://github.com/foliojs/pdfkit/issues/369#issuecomment-926425517
- https://github.com/PadraigGalvin/pdfkit-pdfa-sample/blob/master/generate.js
Maybe it should be possible to generate this sort of document directly with react-pdf.. or maybe react-pdf should provide hooks (advanced) in order to create and play with the pdfkit context ?!
Regards
Any updates on this?
Thanks for the great tool. As PDF/A is requested for the current project I'm involved in, I hope this is reachable. Please, any updates?
As a workaround, I used https://github.com/crabbly/Print.js this library to call the browser's native print of my react-pdf generated PDF document. And I was able to successfully generate PDF/A complaint document.
I'd love to know more about this standard. How can I check if a document is PDF/A compliant? Should all PDFs be rendered with this spec or should we add a prop to control it? If so, how that prop would look like?