diff options
Diffstat (limited to 'test/api/test-subset-post.c')
-rw-r--r-- | test/api/test-subset-post.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/api/test-subset-post.c b/test/api/test-subset-post.c index 948b18a..e31b01e 100644 --- a/test/api/test-subset-post.c +++ b/test/api/test-subset-post.c @@ -32,13 +32,14 @@ static void test_post_drops_glyph_names (void) { - hb_face_t *face_full = hb_subset_test_open_font ("fonts/Mplus1p-Regular.660E,6975,73E0,5EA6,8F38,6E05.ttf"); - hb_face_t *face_subset = hb_subset_test_open_font ("fonts/Mplus1p-Regular.660E.ttf"); + hb_face_t *face_full = hb_test_open_font_file ("fonts/Mplus1p-Regular.660E,6975,73E0,5EA6,8F38,6E05.ttf"); + hb_face_t *face_subset = hb_test_open_font_file ("fonts/Mplus1p-Regular.660E.ttf"); + hb_face_t *face_full_subset; hb_set_t *codepoints = hb_set_create (); hb_set_add (codepoints, 0x660E); - hb_face_t *face_full_subset = hb_subset_test_create_subset (face_full, hb_subset_test_create_input (codepoints)); + face_full_subset = hb_subset_test_create_subset (face_full, hb_subset_test_create_input (codepoints)); hb_set_destroy (codepoints); hb_subset_test_check (face_subset, face_full_subset, HB_TAG ('p','o','s','t')); |