Hi Bruno,

On Thu, 21 Dec 2006, Bruno Lowagie (iText) wrote:

> I don't like to guess what's going wrong, so instead I send you a code 
> sample that shows how I added text to an existing PDF document. I found 
> this pseudo handwritten font VinerHandITC on my system; replace the 
> reference to this font with the path to the font you are using.

I noticed that you are calling BaseFont.createFont with the font file 
name. I hadn't seen that before in any of the examples, but it works, and 
the font now appears in the document. Thanks!

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to