freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] Getting encoding value of type1 fonts


From: David Turner
Subject: Re: [Freetype] Getting encoding value of type1 fonts
Date: Tue, 25 Feb 2003 21:51:45 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210

address@hidden wrote:
With Truetype I can see how encoding value can be retrieved simply from the
charmap... but with type1 fonts it doesnt seem to be returning the correct 
values.

Is there a way to get encoding value information of type1 fonts?

What do you mean exactly ? In recent FreeType versions, Type 1 fonts report
charmaps with a platform id of TT_PLATFORM_ADOBE, and an encoding id of
TT_ADOBE_ID_STANDARD, TT_ADOBE_ID_EXPORT or TT_ADOBE_ID_CUSTOM. Additionnaly,
a Unicode charmap is automatically synthetized from the glyph names dictionary,
which is accessible directly with the function FT_Get_Glyph_Name.

Hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]