this has always been there - it measn xft, x and evas dont agree on the size

of a "7 pixel" or "20 pixel" font. now they will. the numbers were fudged
frome examples... now they are pure :)


SVN revision: 11757
This commit is contained in:
Carsten Haitzler 2004-10-06 00:05:20 +00:00
parent 7cd1fc87ce
commit 7edce6a8d6
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ evas_common_font_load_init(RGBA_Font *fn)
FT_Activate_Size(fn->ft.size);
}
fn->real_size = fn->size * 64;
error = FT_Set_Char_Size(fn->src->ft.face, 0, fn->real_size, 96, 96);
error = FT_Set_Char_Size(fn->src->ft.face, 0, fn->real_size, 100, 100);
if (error)
{
fn->real_size = fn->size;