-
-
Notifications
You must be signed in to change notification settings - Fork 656
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
[Feature Request]: Generate PDF/A-3 documents #230
Comments
Hello @zimt28! This is an interesting idea. What exactly do you envision this feature looking like? As far as I can tell, the PDF/A standard is just a subset of the PDF standard. Since pdf-lib adheres to the PDF 1.7 spec, I would think that all you need to do to generate a PDF/A document with pdf-lib is simply not use the PDF features that are disallowed in PDF/A. Or put another way, generating a PDF/A document with pdf-lib shouldn't require any new features. It just means not using particular tools offered by pdf-lib. |
Hi! First of all thank you so much @Hopding for this awesome library! I'm not the original poster of this issue, but I'm also interested in generating PDF/A documents. So, I tried to generate a valid PDF/A-3B document with the help of veraPDF (a PDF/A conformance checker). Here are my findings:
(Disclaimer: I'm not sure if my code snippets are clean & correct. At least, they removed (almost all) the veraPDF validation errors for my specific use case. There might be further issues for other PDF features. @Hopding feel free to edit the code snippets if you see need.) Edit: Oh, and Happy New Year! |
this would be great as there are not other pure js libs doing this. |
Just came accross this issue because I am working on adding factur-x conformance, which needs PDF-A3 conformance. const cidFontDict = context.obj({ |
Similarly, I would like to be able to choose the specification version (1.4, ..., 1.7) of the PDF document produced by |
Added this to the roadmap for tracking: #998. |
Hi @DkDavid , @13thirteen and @Hopding |
+1 @ram-you especially for those in Europe dealing with zugferd/factur-x invoices. Is this repo still alive? since there has been no activity for a year and a half. |
Thank you man! I will check it and give it a try! |
Thank you @necessarylion with the info provided here and in your link we were able to generate Factur-X compliant invoices ! |
This is the second half of my feature requests, see: #229.
It would be great if
pdf-lib
could generate PDF/A-3 documents, which in my case are required by theZUGFeRD
specification.The text was updated successfully, but these errors were encountered: