[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    AW: AW: [Devel] German umlauts with Freetype 2?
From:       "Patrick Hoffmann" <p.hoffmann () berlin ! de>
Date:       2002-12-26 10:15:01
[Download RAW message or body]

Very good hint!

I've changed the line...

FT_UInt glyph_index = FT_Get_Char_Index( face, (char)str[n] );

... (str is a std::string)  to... 

FT_UInt glyph_index = FT_Get_Char_Index( face, (unsigned char)str[n] );

...and now it works! 

Much thanx!

-----Ursprüngliche Nachricht-----
Von: devel-admin@freetype.org [mailto:devel-admin@freetype.org] Im
Auftrag von David Turner
Gesendet: Donnerstag, 26. Dezember 2002 11:07
An: devel@freetype.org
Betreff: Re: AW: [Devel] German umlauts with Freetype 2?


Patrick Hoffmann wrote:
> I've just made another test. I wrote a small program that puts out all

> characters between 32 and 255. In the output I can see that '~' is the

> last character in the font, that isn't a square. I'm using the 
> standard true type fron "arial.ttf" from windows.
>
"~" is ASCII 126, i.e. the last visible character of the 7-bit range. It
definitely looks like a "sign" problem. Could you investigate this
further ??

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)


_______________________________________________
Devel mailing list
Devel@freetype.org http://www.freetype.org/mailman/listinfo/devel


_______________________________________________
Devel mailing list
Devel@freetype.org
http://www.freetype.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic