I experience a problem when signing a PDF/A-1A document created with Microsoft Word 2013 and using iTextSharp with a visible signature. The signed document is no more conform, with the following errors from the PDF/A validator:
- An end text operator is missing
- A begin text operator is missing
A warning message is also displayed when printing the signed document with Acrobat (but not when opening the document).
Without a visbile signature the document remains conform.
I tested using iTextSharp release 5.5.7 and 5.5.8. Same effect. Signing the same PDF/A documents using acrobat reader or pro doesn't break the PDF/A-1A conformance. Signing PDF documents created by another software than MS Word 2013 (with the save as command) and using iText seems not to break the PDF/A-1A conformance.
The test documents can be downloaded here:
- http://federalism.vserver.softronics.ch/itext/Pdf-Validation.pdf
- http://federalism.vserver.softronics.ch/itext/Pdf-Validation.Signed.pdf
Online validators used: pdf-online, pdf-tools, Preflight (Adobe Acrobat). This validator also validates the signed document :-)
Is there any bug in the iText Library and any way to get a valid PDF/A-1A document?
Thanks for any help! Corto
Thanks for your answer. I tested a patch that iText delivered me in February. It solved the problem when printing the document (warning message). But the patch was probably not integrated in the final release (5.5.9) and the problem is not solved yet.