I create face with Calibri.ttf(this file on windows system fonts dir), and
/* use 9pt
at 96dpi */
FT_Set_Char_Size(
face, 9 * 64, 0,
96, 0 ); /*
set character size */
load a character:
/* load glyph image into the slot (erase previous one) */
FT_Load_Char(
face, text[n],
FT_LOAD_RENDER );
but the face->glyph->bigmap data are wrong!
when i change Char size to 15 or dpi(such as 90)
FT_Set_Char_Size( face,
15 * 64, 0,
96,
0 );
or
FT_Set_Char_Size( face,
9 * 64, 0,
90,
0 );
then glyph image data correct.
there is no problem if create with face with other ttf,such as msyh.ttf
why Cailbir.ttf special?
and what restriction between character pt and dpi?
btw,this issue is on pc(win7 64bit)
thanks,