[ft] Disable ppem setting

The calculations were wrong.

FreeType makes it really hard to set size and ppem independently.
For now, disable it.  Need to come up with a fix later.
This commit is contained in:
Behdad Esfahbod 2012-07-11 19:00:30 -04:00
parent cdf7444505
commit 2023e2b54d
1 changed files with 3 additions and 0 deletions

View File

@ -466,8 +466,11 @@ hb_ft_font_set_funcs (hb_font_t *font)
FT_Set_Char_Size (ft_face,
font->x_scale, font->y_scale,
0, 0);
#if 0
font->x_ppem * 72 * 64 / font->x_scale,
font->y_ppem * 72 * 64 / font->y_scale);
#endif
ft_face->generic.data = blob;
ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob;