[EMAIL PROTECTED] wrote:
I must be really really bad, but I still didn't manage to display a single latin-1 specific characters. I found an article (http://apia.u-strasbg.fr/vrml/utile/special.html) with a piece of code explaining how to convert iso8859-1 to UTF8 but I still didn't manage to achieve anything. In fact, even this single call fails : glyph_index = FT_Get_Char_Index(face, 0xC3A9);
0xC3A9 being, according to this article, the code for the french "é". It always returns 0. Of course, I selected the unicode charmap and I also tried with several fonts, just in case.
You don't want to use the UTF-8 encoding of the char. You need to use the Unicode value itself - 0xE9 for e-acute.
David %^> -- ________________________________________________________ David Bevan, Emtex Ltd. Emtex House, Station Road, Kings Langley, Herts. WD4 8LH England Tel: +44 (0)1923 270882 E-mail: [EMAIL PROTECTED] Web: www.emtex.com _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
