freetype-devel
[Top][All Lists]
Advanced

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

RE: [Devel] Gap from char 128-160


From: Graham Asher
Subject: RE: [Devel] Gap from char 128-160
Date: Fri, 16 Jul 2004 10:04:20 +0100

Erik,

the Euro Symbol is encoded at 128 in the latest version of the standard
Windows 8-bit encoding, which FreeType doesn't support. To access this and
other characters encoded in the range 128...159 inclusive, in that encoding,
you need to set FreeType to use Unicode, and use the Unicode encodings for
the characters.

FreeType now uses Unicode by default, but in case you are using an earlier
version of FreeType where that's not true, at lesat for certain drivers,
call

FT_Select_Charmap(face,FT_ENCODING_UNICODE);

then use the Unicode value for Euro, which is 0x20AC.

Graham Asher





reply via email to

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