[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.
pull/1/head
Behdad Esfahbod 13 years ago
parent cdf7444505
commit 2023e2b54d
  1. 3
      src/hb-ft.cc

@ -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;

Loading…
Cancel
Save