[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Still some accents issues :)
From: |
David Bevan |
Subject: |
Re: [ft] Still some accents issues :) |
Date: |
Wed, 03 Aug 2005 10:31:38 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
address@hidden 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: address@hidden
Web: www.emtex.com