[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 committed 2012-07-11 19:01:26 -04:00
1 parent cdf7444505
commit 2023e2b54d
1 file changed
+3
+3
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;