From c763b9440189b541316054ba4f623e728b5aae77 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 28 Sep 2018 20:53:07 -0400 Subject: [PATCH] [test-multithread] Disable FreeType funcs --- test/api/test-multithread.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/api/test-multithread.c b/test/api/test-multithread.c index 63dd8d7eb..116260bde 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);