I want to appologoze for sending an HTML-Email, i won't do this again... Hello,
I am using iText for just a short while now and don't have any previous experience with signing and PDF's in general. So please bear with me when i confuse some terminology or someting else. I would be glad if someone tells me my errors. I am generating a signature in a preexisting PDF, but the information in the signature-field is smaller than i would expect. (see attachment test_for_signatures_signed.pdf for an example) There is enough space in the signature-field that the font size could be twice as high! If I create the signature with PdfSignatureAppearance.SignatureRenderNameAndDescription, the three text lines will use the whole vertical space (of course there would be the name of the signer before the three lines). (see attachment test_for_signatures_signed2.pdf for an example) Is there any way i can change the font-size of the signature-field, or let iText fit the text in there on its own? I already tried to alter the PdfTemplate of the "Layer 2", but wasn't able to recreate a signature like this, since there is no way to use newline-characters in a PdfTemplate. (i found out that altering the font of this PdfTemplate results in an empty PdfTemplate, so i tried to fill the PdfTemplate on my own and thought about just recreating the three lines) You can have a look at the sourcecode here http://pastebin.com/m5ed4f6e3 Thanks in advance Markus -- Chaos, Panik und Unordnung - mein Werk hier ist vollendet. http://exitus.dynalias.org
test_for_signatures_signed.pdf
Description: Adobe PDF document
test_for_signatures_signed2.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
