[docs] Fix subset documentation

List the missing new APIs and unlist all the to be deleted legacy APIs.
This commit is contained in:
Khaled Hosny 2021-09-07 15:05:42 +02:00
parent e38b873eae
commit 9b7af950b3
2 changed files with 25 additions and 30 deletions

View File

@ -711,19 +711,14 @@ hb_version_string
<FILE>hb-subset</FILE> <FILE>hb-subset</FILE>
hb_subset_flags_t hb_subset_flags_t
hb_subset_input_t hb_subset_input_t
hb_subset_sets_t
hb_subset_input_create_or_fail hb_subset_input_create_or_fail
hb_subset_input_reference hb_subset_input_reference
hb_subset_input_destroy hb_subset_input_destroy
hb_subset_input_set_user_data hb_subset_input_set_user_data
hb_subset_input_get_user_data hb_subset_input_get_user_data
hb_subset_input_unicode_set
hb_subset_input_glyph_set
hb_subset_input_nameid_set
hb_subset_input_namelangid_set
hb_subset_input_layout_features_set
hb_subset_input_no_subset_tables_set
hb_subset_input_drop_tables_set
hb_subset_input_get_flags hb_subset_input_get_flags
hb_subset_input_set_flags hb_subset_input_set_flags
hb_subset_input_set
hb_subset_or_fail hb_subset_or_fail
</SECTION> </SECTION>

View File

@ -81,8 +81,8 @@ typedef enum { /*< flags >*/
/** /**
* hb_subset_sets_t: * hb_subset_sets_t:
* HB_SUBSET_SETS_GLYPH_INDEX: the set of glyph indexes to retain in the subset. * @HB_SUBSET_SETS_GLYPH_INDEX: the set of glyph indexes to retain in the subset.
* HB_SUBSET_SETS_UNICODE: the set of unicode codepoints to retain in the subset. * @HB_SUBSET_SETS_UNICODE: the set of unicode codepoints to retain in the subset.
* @HB_SUBSET_SETS_NO_SUBSET_TABLE_TAG: the set of table tags which specifies tables that should not be * @HB_SUBSET_SETS_NO_SUBSET_TABLE_TAG: the set of table tags which specifies tables that should not be
* subsetted. * subsetted.
* @HB_SUBSET_SETS_DROP_TABLE_TAG: the set of table tags which specifies tables which will be dropped * @HB_SUBSET_SETS_DROP_TABLE_TAG: the set of table tags which specifies tables which will be dropped
@ -126,27 +126,6 @@ HB_EXTERN void *
hb_subset_input_get_user_data (const hb_subset_input_t *input, hb_subset_input_get_user_data (const hb_subset_input_t *input,
hb_user_data_key_t *key); hb_user_data_key_t *key);
HB_EXTERN hb_set_t *
hb_subset_input_unicode_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_glyph_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_nameid_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_namelangid_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_layout_features_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_no_subset_tables_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_drop_tables_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t * HB_EXTERN hb_set_t *
hb_subset_input_set (hb_subset_input_t *input, hb_subset_sets_t set_type); hb_subset_input_set (hb_subset_input_t *input, hb_subset_sets_t set_type);
@ -212,6 +191,27 @@ hb_subset_input_set_no_prune_unicode_ranges (hb_subset_input_t *subset_input,
HB_EXTERN hb_bool_t HB_EXTERN hb_bool_t
hb_subset_input_get_no_prune_unicode_ranges (hb_subset_input_t *subset_input); hb_subset_input_get_no_prune_unicode_ranges (hb_subset_input_t *subset_input);
HB_EXTERN hb_set_t *
hb_subset_input_unicode_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_glyph_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_nameid_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_namelangid_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_layout_features_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_no_subset_tables_set (hb_subset_input_t *input);
HB_EXTERN hb_set_t *
hb_subset_input_drop_tables_set (hb_subset_input_t *input);
HB_EXTERN hb_face_t * HB_EXTERN hb_face_t *
hb_subset (hb_face_t *source, hb_subset_input_t *input); hb_subset (hb_face_t *source, hb_subset_input_t *input);