diff --git a/test/api/test-multithread.c b/test/api/test-multithread.c index 63dd8d7eb45668382aed3d02e94359d6a8b2e85e..116260bde55895a82195826d5ea7f3d7488e4d3f 100644 --- a/test/api/test-multithread.c +++ b/test/api/test-multithread.c @@ -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);