See http://itextdocs.lowagie.com/tutorial/#part3.
Paulo ----- Original Message ----- From: "Kyle Pickens" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, June 09, 2007 1:18 AM Subject: [iText-questions] Can't create BaseFont with known registered fonts >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] ------------------------------------------------------------------------- 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/
