[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Unicode charmap for symbol fonts
From: |
Garrick Meeker |
Subject: |
Re: [Freetype] Unicode charmap for symbol fonts |
Date: |
Sat, 31 Jan 2004 12:36:22 -0800 |
User-agent: |
KMail/1.6 |
On Saturday 31 January 2004 03:50, Steve Hartwell wrote:
> My Font Inspector application, which uses a recent build of freetype2,
> shows an apparently valid unicode mapping for the
> /System/Library/Fonts/Symbol.dfont on both MacOS X 10.2 and 10.3
> systems. If you'd like to take a look for yourself, you can download
> Font Inspector at:
> http://stevehartwell.home.comcast.net/proj/fontinspector
>
> Come to think of it, though, the Symbol font's unicode cmap is probably
> a format 12, and I've modified the tt_cmap12_char_index() routine for
> speed. Hmmm...
>
> Which calls are you making? I always call FT_Get_Char_Index(); I don't
> use FT_Get_First_Char() / FT_Get_Next_Char().
>
> Anyway, please post some more specifics. I've stepped through the
> charmap code myself once or twice now :-)
I'll try Font Inspector and keep looking, but FT_Get_Char_Index('A') returns 0
with the unicode charmap, but a valid glyph with FT_ENCODING_APPLE_ROMAN.
Also it goes into tt_cmap4_char_index not tt_cmap12_char_index. I guess I'll
look for another font that uses a format 4.