Thanks a lot! Best Regards, Tao ________________________________
From: Paulo Soares [mailto:[email protected]] Sent: April 20, 2010 4:27 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Error: Font 'Arial' with 'Cp1252' isnotrecognized. Use "Arial.ttf" as the font name. Paulo ----- Original Message ----- From: Lu, Tao (MOH) <mailto:[email protected]> To: [email protected] Sent: Tuesday, April 20, 2010 8:49 PM Subject: [iText-questions] Error: Font 'Arial' with 'Cp1252' is notrecognized. Hi, All, I am getting this error :Font 'Arial' with 'Cp1252' is not recognized. Here is the code: byte[] ttf = ..... // An byte array of file -- arial.ttf BaseFont.createFont("Arial", BaseFont.WINANSI, BaseFont.EMBEDDED, true, ttf, null); And clue? Thanks a lot in advance! Regards, Tao
------------------------------------------------------------------------------
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/
