[subset] Remove hb_subset_input_get/set_name_legacy ().

This commit is contained in:
Garret Rieger 2021-06-09 16:20:55 -07:00
parent 942636ae13
commit 7d82191f61
3 changed files with 1 additions and 20 deletions

View File

@ -326,19 +326,6 @@ hb_subset_input_set_flag (hb_subset_input_t *input,
}
}
HB_EXTERN void
hb_subset_input_set_name_legacy (hb_subset_input_t *subset_input,
hb_bool_t name_legacy)
{
subset_input->name_legacy = name_legacy;
}
HB_EXTERN hb_bool_t
hb_subset_input_get_name_legacy (hb_subset_input_t *subset_input)
{
return subset_input->name_legacy;
}
HB_EXTERN void
hb_subset_input_set_overlaps_flag (hb_subset_input_t *subset_input,
hb_bool_t overlaps_flag)

View File

@ -94,12 +94,6 @@ hb_subset_input_set_flag (hb_subset_input_t *input,
// TODO(garretrieger): remove bool property get/set methods.
HB_EXTERN void
hb_subset_input_set_name_legacy (hb_subset_input_t *subset_input,
hb_bool_t name_legacy);
HB_EXTERN hb_bool_t
hb_subset_input_get_name_legacy (hb_subset_input_t *subset_input);
HB_EXTERN void
hb_subset_input_set_overlaps_flag (hb_subset_input_t *subset_input,
hb_bool_t overlaps_flag);

View File

@ -75,7 +75,7 @@ hb_subset_test_create_input_from_nameids (const hb_set_t *name_ids)
hb_set_t *name_langids = hb_subset_input_namelangid_set (input);
hb_set_add_range (name_langids, 0, 0x5FFF);
hb_subset_input_set_name_legacy (input, true);
hb_subset_input_set_flag (input, HB_SUBSET_FLAG_NAME_LEGACY, true);
return input;
}