Werner Aernouts wrote: > Dear, > I am construction a font from a .pfm file as it says in the book, i.e. > > font_normal_10 = new Font( > BaseFont.createFont("C:\\Windows\\Fonts\\Sun5____.pfm","",BaseFont.EMBEDDED), > 10 );
First a counter-question to rule out a possible problem: did you check if you have a file Sun5____.pfb in c:/windows/fonts? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/