src/hb-ft.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ca97ea7aa2cb7186f432aaba76f4f151aa90c1d0 Author: Behdad Esfahbod <beh...@behdad.org> Date: Thu Oct 15 20:20:22 2015 -0300
[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 2a9627c5641cd000e2adff0e42a0dc687b53ec70. 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 diff --git a/src/hb-ft.cc b/src/hb-ft.cc index b695f81..2b11882 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -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; } _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz