Hello all,
I'm curious as to why when I try to load charecters that I know are in a font, and I'm using the unicode char map, and UTF(16/32)/USC-4 as suggested, and yet I get a glyphindex of 0. Using arial font, %windir%\fonts\arial.ttf, I've tried to load the Hiragana 'A' or あ, 0x3042 or 12354d.

using
FT_New_Face(Library->FreeTypeLibrary, marshaller->marshal_as<const char*>(FaceFileName), 0, FacePointer);
FT_Set_Char_Size(FreeTypeFace, 64*Size, 0, DpiX, DpiY);
wchar_t Letter = Text[CharIndex];
FT_Get_Char_Index(FreeTypeFace, Letter);
where Letter is 0x3042, I get a Index of 0, I've tried all 3 charmaps as well.

I'm using freetype-2.3.12.

Is there perhaps something I'm missing or not understanding?
TIA
Infro.

_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to