mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 08:21:32 +01:00
[subset] hb_subset_input_t changes
This commit is contained in:
1 parent
28e63a1287
commit
d5b33f2fe1
11 files changed
+153
-63
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user