I am getting a DocumentException trying to create a BaseFont with the following:

BaseFont bf = BaseFont.createFont("arial",BaseFont.CP1252, BaseFont.EMBEDDED);

In place of "arial" I have tried several known registered fonts, which I have verified with FontFactory.getRegisteredFonts() (after of course invoking FontFactory.registerDirectories()). None of them work; I always get "Font <font> with 'Cp1252' is not recognized". Running WinXP. What am I doing wrong??

Kyle Pickens
[EMAIL PROTECTED]

_________________________________________________________________
Make every IM count. Download Messenger and join the i’m Initiative now. It’s free. http://im.live.com/messenger/im/home/?source=TAGHM_June07


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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