[test] Pass closure to hb_font_set_glyph_func()
Exercises fix in c335fd7986
This commit is contained in:
parent
e23cf902e9
commit
dd8598c1c7
|
@ -101,7 +101,7 @@ test_shape (void)
|
|||
|
||||
ffuncs = hb_font_funcs_create ();
|
||||
hb_font_funcs_set_glyph_h_advance_func (ffuncs, glyph_h_advance_func, NULL, NULL);
|
||||
hb_font_funcs_set_glyph_func (ffuncs, glyph_func, NULL, NULL);
|
||||
hb_font_funcs_set_glyph_func (ffuncs, glyph_func, malloc (10), free);
|
||||
hb_font_funcs_set_glyph_h_kerning_func (ffuncs, glyph_h_kerning_func, NULL, NULL);
|
||||
hb_font_set_funcs (font, ffuncs, NULL, NULL);
|
||||
hb_font_funcs_destroy (ffuncs);
|
||||
|
|
Loading…
Reference in New Issue