BaseFont bf = BaseFont.createFont("some_font.afm", BaseFont.WINANSI, true);
It will llok for the file "some_font.pfb" in the same directory. The pfb part of the name is always lower case so make sure that the file has also a lower case extension in case sensitive OS like UNIX. Best Regards, Paulo Soares ----- Original Message ----- From: "arse alam" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 5:47 Subject: Re: RE: [iText-questions] (no subject) > Dear Sir, > > I have AFM file. But, I don't know, how to use by library. > Can you give to an examples programme and notes for this. > > ---------- > Arse Alam > ---------- > > > > > > On Mon, 09 Jun 2003 Paulo Soares wrote : > >iText does not support PCL fonts. To use PFB fonts you'll also > >need the AFM > >file. This AFM file is used when creating the font. If you don't > >have the > >AFM file you can recreate it from the PFB. > > > >Best Regards, > >Paulo Soares > > > > > -----Original Message----- > > > From: arse alam [SMTP:[EMAIL PROTECTED] > > > Sent: Monday, June 09, 2003 15:46 > > > To: [EMAIL PROTECTED] > > > Subject: [iText-questions] (no subject) > > > > > > > > > Dear Sir, > > > > > > We are using PCL Bit-screen & Postscript *.pbf fonts. > > > How can we use these fonts in your iText library. Is this > > > possible, our fonts are unmapped differently 7 are not an > > > unicode, > > > We would like to avoid re-entry if volumum test. > > > We are axaming using your product to make PDF files. > > > > > > Please try to provide me an ultimate solution. > > > > > > Thank you > > > > > > > > > > > > > > > ___________________________________________________ > > > Impress your clients! Send mail from me @ mycompany.com . > > > Just Rs.1499/year. > > > Click http://www.rediffmailpro.com to know more. > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > ___________________________________________________ > Impress your clients! Send mail from me @ mycompany.com . > Just Rs.1499/year. > Click http://www.rediffmailpro.com to know more. > ------------------------------------------------------- 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