Bruno,

after a small change of your naked.pdf, I could sign it without that ugly
warning: I added an empty Resources dictionary:

3 0 obj
<</Parent 2 0 R/Contents 1 0 R/Type/Page/MediaBox[0 0 595
842]/Resources&lt;&lt;>>>>
endobj

and, of course, adjusted the offsets. 
http://itext-general.2136553.n4.nabble.com/file/n4168358/naked_RESOURCES.pdf
naked_RESOURCES.pdf 

The Resources, BTW, are marked as required/inheritable in ISO 32000-1, there
even is the hint: "If the page requires no resources, the value of this
entry shall be an empty dictionary." Thus, the Reader is not entirely wrong
to dislike your PDF.

This is not the complete solution, though, as the page in naked_acrobat.pdf
does have Resources. I suspect, though, that it, too, most likely
disrespects the PDF specification in some way.

Essentially we need a way to execute the tests the Reader applies to the
signed document independent of the signing context, i.e. already to the
unsigned document. In that case we could show the customer that their
initial document already contains that "PDF content or custom content not
supported by the current version of Adobe Reader."

Regards,   Michael

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/iTextSharp-5-1-3-and-XMLWorker-1-1-1-NET-released-tp4128344p4168358.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to