diff options
author | Bowon Ryu <bowon.ryu@samsung.com> | 2019-02-14 17:33:09 +0900 |
---|---|---|
committer | Bowon Ryu <bowon.ryu@samsung.com> | 2019-02-14 17:33:09 +0900 |
commit | 1baac414088e430483b85f702898c8448083bfc2 (patch) | |
tree | 59799dda277ac726617ff1b6ffb4747e775f551a /test/api/test-subset-post.c | |
parent | b9f425ddd6223cd82b3d35f13fbd060d3c0c0e38 (diff) | |
download | harfbuzz-1baac414088e430483b85f702898c8448083bfc2.tar.gz harfbuzz-1baac414088e430483b85f702898c8448083bfc2.tar.bz2 harfbuzz-1baac414088e430483b85f702898c8448083bfc2.zip |
Imported Upstream version 2.3.1upstream/2.3.1
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')); |