[subset] hb_subset_input_t changes

This commit is contained in:
Behdad Esfahbod committed 2018-02-13 13:55:10 -08:00
1 parent 28e63a1287
commit d5b33f2fe1
11 files changed
+153 -63

No files matched your search

+2 -2
View File
@@ -94,9 +94,9 @@ test_subset_glyf (void)
hb_face_t *face_abc_subset;
hb_blob_t *glyf_expected_blob;
hb_blob_t *glyf_actual_blob;
hb_set_t *codepoints = hb_set_create();
hb_subset_profile_t *profile = hb_subset_profile_create();
hb_subset_input_t *input = hb_subset_input_create (codepoints);
hb_subset_input_t *input = hb_subset_input_create ();
hb_set_t *codepoints = hb_set_reference (hb_subset_input_unicode_set (input));
g_assert (face_abc);
g_assert (face_ac);
+1 -1
View File
@@ -43,7 +43,7 @@ test_subset (void)
hb_face_t *face = hb_face_create(font_blob, 0);
hb_subset_profile_t *profile = hb_subset_profile_create();
hb_subset_input_t *input = hb_subset_input_create (hb_set_get_empty ());
hb_subset_input_t *input = hb_subset_input_create ();
hb_face_t *out_face = hb_subset(face, profile, input);
g_assert(out_face);