Hello!

I'm signing pdf/a files using itext. The fonts need to be embedded and i 
have no problem with the text fonts. The exception is with the text on 
the signature field. Because i'm not choosing any font:



[...]
PdfReader reader = new 
PdfReader("D:\\work\\workspace\\pdf\\DocsTeste\\jpeg.pdf");
FileOutputStream os = new 
FileOutputStream("D:\\work\\workspace\\pdf\\DocsTeste\\jpeg_assinado.pdf");
PdfStamper stamper = PdfStamper.createSignature(reader, os, '\0');

PdfSignatureAppearance appearance = stamper.getSignatureAppearance();
 appearance.setCrypto(pk, chain, null,PdfSignatureAppearance.SELF_SIGNED);

[...]

 appearance.setVisibleSignature(new Rectangle(30, 750, 300, 150), 1,null);
 stamper.close();


Is it possible to set the font that will be used on the signature field? 
It seems that helvetica is being used, because on the pdf/a compliance 
tests the error referes to it.

Thanks in advance


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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

Reply via email to