it seems I do not understand how to use Adobe Type 1 font. I put both PFM and PFB files into app's working directory, but when I do this:
BaseFont bfText = BaseFont.createFont("FONT.PFM", "CP1250", BaseFont.EMBEDDED);
I receive an exception:
Font 'FONT.PFM' with 'CP1250' is not recognized.
com.lowagie.text.DocumentException: Font 'FONT.PFM' with 'CP1250' is not recognized.
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source)
....
When I put (some other) TTF font into the same directory it works:
BaseFont bfText = BaseFont.createFont("FONT.TTF", "CP1250", BaseFont.EMBEDDED);
But Type 1 not :-(
Any idea? Thanks.
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
