> Trying to debug a bug in libgd, I found something that sounds like a
> bug.
It's not a bug.
> When I set the charmap using FT_Set_Charmap with the unicode
> charmap, FT_Get_Char_Index fails to find the correct glyph (returns
> 0).
Yep. You are selecting the wrong Unicode charmap. Your loop
construction around line 90 selects the first one (which is for
Apple's 0,0 platform/encoding ID) instead the `extended' one
(Microsoft's 3/10).
You should use FT_Select_Charmap() instead.
I'll add a note to the documentation.
Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel