[test-multithread] Disable FreeType funcs

This commit is contained in:
Behdad Esfahbod 2018-09-28 20:53:07 -04:00
parent 9b0b40b3c1
commit c763b94401
1 changed files with 6 additions and 2 deletions

View File

@ -153,8 +153,12 @@ main (int argc, char **argv)
fill_the_buffer (ref_buffer);
test_body ();
hb_ft_font_set_funcs (font);
test_body ();
/* hb-font backed by FreeType functions can only be used from
* one thread at a time, because that's FT_Face's MT guarantee.
* So, disable this, even though it works "most of the time". */
//hb_ft_font_set_funcs (font);
//test_body ();
hb_buffer_destroy (ref_buffer);