[test-multithread] Install ot funcs before filling ref buffer

This commit is contained in:
Behdad Esfahbod 2018-09-28 08:45:57 -04:00
parent 21fbee831e
commit 7e6e094abd

View File

@ -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);