summaryrefslogtreecommitdiff
path: root/test/api/test-subset-post.c
diff options
context:
space:
mode:
authorBowon Ryu <bowon.ryu@samsung.com>2019-02-14 17:33:09 +0900
committerBowon Ryu <bowon.ryu@samsung.com>2019-02-14 17:33:09 +0900
commit1baac414088e430483b85f702898c8448083bfc2 (patch)
tree59799dda277ac726617ff1b6ffb4747e775f551a /test/api/test-subset-post.c
parentb9f425ddd6223cd82b3d35f13fbd060d3c0c0e38 (diff)
downloadharfbuzz-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.c7
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'));