From 7e6e094abd27fd022fe9aea1872ef82f6a0cdcec Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 28 Sep 2018 08:45:57 -0400 Subject: [PATCH] [test-multithread] Install ot funcs before filling ref buffer --- test/api/test-multithread.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/api/test-multithread.c b/test/api/test-multithread.c index 2dbecc9bf..a75feffaa 100644 --- a/test/api/test-multithread.c +++ b/test/api/test-multithread.c @@ -147,12 +147,13 @@ main (int argc, char **argv) hb_face_t *face = hb_face_create (blob, 0); font = hb_font_create (face); + hb_ot_font_set_funcs (font); + ref_buffer = hb_buffer_create (); fill_the_buffer (ref_buffer); - hb_ft_font_set_funcs (font); test_body (); - hb_ot_font_set_funcs (font); + hb_ft_font_set_funcs (font); test_body (); hb_buffer_destroy (ref_buffer);