diff --git a/src/hb-subset-input.cc b/src/hb-subset-input.cc index 9907351de..c6fe54b2a 100644 --- a/src/hb-subset-input.cc +++ b/src/hb-subset-input.cc @@ -326,19 +326,6 @@ hb_subset_input_set_flag (hb_subset_input_t *input, } } -HB_EXTERN void -hb_subset_input_set_desubroutinize (hb_subset_input_t *subset_input, - hb_bool_t desubroutinize) -{ - subset_input->desubroutinize = desubroutinize; -} - -HB_EXTERN hb_bool_t -hb_subset_input_get_desubroutinize (hb_subset_input_t *subset_input) -{ - return subset_input->desubroutinize; -} - /** * hb_subset_input_set_retain_gids: * @subset_input: a subset_input. diff --git a/src/hb-subset.h b/src/hb-subset.h index 1c461d868..31c69503f 100644 --- a/src/hb-subset.h +++ b/src/hb-subset.h @@ -95,12 +95,6 @@ hb_subset_input_set_flag (hb_subset_input_t *input, -HB_EXTERN void -hb_subset_input_set_desubroutinize (hb_subset_input_t *subset_input, - hb_bool_t desubroutinize); -HB_EXTERN hb_bool_t -hb_subset_input_get_desubroutinize (hb_subset_input_t *subset_input); - HB_EXTERN void hb_subset_input_set_retain_gids (hb_subset_input_t *subset_input, hb_bool_t retain_gids); diff --git a/test/api/test-subset-cff1.c b/test/api/test-subset-cff1.c index 49ae97c4f..19f2ad6f6 100644 --- a/test/api/test-subset-cff1.c +++ b/test/api/test-subset-cff1.c @@ -103,7 +103,7 @@ test_subset_cff1_desubr (void) hb_set_add (codepoints, 'a'); hb_set_add (codepoints, 'c'); input = hb_subset_test_create_input (codepoints); - hb_subset_input_set_desubroutinize (input, true); + hb_subset_input_set_flag (input, HB_SUBSET_FLAG_DESUBROUTINIZE, true); face_abc_subset = hb_subset_test_create_subset (face_abc, input); hb_set_destroy (codepoints); @@ -127,7 +127,7 @@ test_subset_cff1_desubr_strip_hints (void) hb_set_add (codepoints, 'c'); input = hb_subset_test_create_input (codepoints); hb_subset_input_set_flag (input, HB_SUBSET_FLAG_HINTING, false); - hb_subset_input_set_desubroutinize (input, true); + hb_subset_input_set_flag (input, HB_SUBSET_FLAG_DESUBROUTINIZE, true); face_abc_subset = hb_subset_test_create_subset (face_abc, input); hb_set_destroy (codepoints); @@ -193,7 +193,7 @@ test_subset_cff1_j_desubr (void) hb_set_add (codepoints, 0x41); hb_set_add (codepoints, 0x4C2E); input = hb_subset_test_create_input (codepoints); - hb_subset_input_set_desubroutinize (input, true); + hb_subset_input_set_flag (input, HB_SUBSET_FLAG_DESUBROUTINIZE, true); face_41_3041_4c2e_subset = hb_subset_test_create_subset (face_41_3041_4c2e, input); hb_set_destroy (codepoints); @@ -217,7 +217,7 @@ test_subset_cff1_j_desubr_strip_hints (void) hb_set_add (codepoints, 0x4C2E); input = hb_subset_test_create_input (codepoints); hb_subset_input_set_flag (input, HB_SUBSET_FLAG_HINTING, false); - hb_subset_input_set_desubroutinize (input, true); + hb_subset_input_set_flag (input, HB_SUBSET_FLAG_DESUBROUTINIZE, true); face_41_3041_4c2e_subset = hb_subset_test_create_subset (face_41_3041_4c2e, input); hb_set_destroy (codepoints); diff --git a/test/api/test-subset-cff2.c b/test/api/test-subset-cff2.c index f7cba4fc3..72ebf0932 100644 --- a/test/api/test-subset-cff2.c +++ b/test/api/test-subset-cff2.c @@ -103,7 +103,7 @@ test_subset_cff2_desubr (void) hb_set_add (codepoints, 'a'); hb_set_add (codepoints, 'c'); input = hb_subset_test_create_input (codepoints); - hb_subset_input_set_desubroutinize (input, true); + hb_subset_input_set_flag (input, HB_SUBSET_FLAG_DESUBROUTINIZE, true); face_abc_subset = hb_subset_test_create_subset (face_abc, input); hb_set_destroy (codepoints); @@ -126,7 +126,7 @@ test_subset_cff2_desubr_strip_hints (void) hb_set_add (codepoints, 'a'); hb_set_add (codepoints, 'c'); input = hb_subset_test_create_input (codepoints); - hb_subset_input_set_desubroutinize (input, true); + hb_subset_input_set_flag (input, HB_SUBSET_FLAG_DESUBROUTINIZE, true); hb_subset_input_set_flag (input, HB_SUBSET_FLAG_HINTING, false); face_abc_subset = hb_subset_test_create_subset (face_abc, input); hb_set_destroy (codepoints);