freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] [newbie/faq?] how can I display accented characters?


From: Werner LEMBERG
Subject: Re: [Freetype] [newbie/faq?] how can I display accented characters?
Date: Thu, 23 Nov 2000 08:06:48 +0100 (CET)

> FT_Init_FreeType(&ftlib);
> FT_New_Face(ftlib, "arial.ttf", 0, &ftface);
> FT_Set_Char_Size(ftface, 0 *16*64, 300,300);
> 
> 
> and then run
> 
> index = FT_Get_Char(ftface, 'á');

You mean FT_Get_Char_Index().  If I try `0xE1' instead of `á' (the
Unicode value of this character), I get the right glyph.

Are you sure that you are using version 2.0 instead of a beta version?
There was a bug in CMap handling.


    Werner


reply via email to

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