mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[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:
1 parent
cdf7444505
commit
2023e2b54d
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user