mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[ft] Revert change-of-behavior of hb_ft_font_create() introduced in 1.0.5
The default FreeType load flags where changed from FT_LOAD_NO_HINTING
to FT_LOAD_DEFAULT in 2a9627c564.
This is crashing HarfBuzz-enabled FreeType as I suppose it causes
infinite recursion between HB and FT autohinter...
Revert the behavior change.
Fixes https://github.com/behdad/harfbuzz/issues/143
This commit is contained in:
1 parent
338ffec9e4
commit
ca97ea7aa2
1 file changed
+1
-1
+1
-1
@@ -84,7 +84,7 @@ _hb_ft_font_create (FT_Face ft_face, bool unref)
|
||||
ft_font->ft_face = ft_face;
|
||||
ft_font->unref = unref;
|
||||
|
||||
ft_font->load_flags = FT_LOAD_DEFAULT;
|
||||
ft_font->load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING;
|
||||
|
||||
return ft_font;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user