I can only say bad things about Type1 fonts when it comes to the encoding.
You have to look at the AFM and figure out what to use. If you want you can
post the AFM and I'll give you an hint.

Best Regards,
Paulo Soares

----- Original Message -----
From: "Andy Kriger" <[EMAIL PROTECTED]>
To: "Itext" <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 17:28
Subject: [iText-questions] which encoding for postscript fonts?


> I am trying to use a Postscript font in creating a PDF from text files.
> However, I cannot figure out what encoding I need to use to create the
> font
> in iText. These fonts are Mac fonts that were converted to Windows, but
> I
> also am wondering what encoding would be valid for Win-native PS fonts.
>
> BaseFont myFont =
> BaseFont.createFont(fontName,BaseFont.CP1252,BaseFont.EMBEDDED);
> Font font = new Font(myFont, 6, Font.NORMAL);
>
> thx
> andy
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to