freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Still some accents issues :)


From: listes
Subject: [ft] Still some accents issues :)
Date: Wed, 3 Aug 2005 10:56:55 +0200
User-agent: Internet Messaging Program (IMP) 3.2.6

Hi again everyone,

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.


[A bit off topic, but out of curiosity : special characters in ASCII belong to
128-255 in the case of an unsigned char. Do the same symbols, in signed char or
unsigned char have the same values in terms of bits ? Do bitwise operations have
the same effects if applied to signed / unsigned variables ?]


Thanks again to everyone,

- mahen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]