[test] minor

don't test first ten glyph, just testing cp just like other API calls is enough
This commit is contained in:
Ebrahim Byagowi 2020-02-05 23:12:37 +03:30 committed by GitHub
parent 03f778cf3c
commit c31762e9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ test_face (hb_face_t *face,
hb_ot_var_normalize_coords (face, 0, NULL, NULL); hb_ot_var_normalize_coords (face, 0, NULL, NULL);
hb_draw_funcs_t *funcs = hb_draw_funcs_create (); hb_draw_funcs_t *funcs = hb_draw_funcs_create ();
for (unsigned gid = 0; gid < 10; ++gid) hb_font_draw_glyph (font, cp, funcs, NULL);
hb_font_draw_glyph (font, gid, funcs, NULL);
hb_draw_funcs_destroy (funcs); hb_draw_funcs_destroy (funcs);
hb_set_destroy (set); hb_set_destroy (set);