You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
HarfBuzz: Update to version 4.0.0
This commit is contained in:
46
thirdparty/harfbuzz/src/hb-subset.h
vendored
46
thirdparty/harfbuzz/src/hb-subset.h
vendored
@@ -39,6 +39,15 @@ HB_BEGIN_DECLS
|
||||
|
||||
typedef struct hb_subset_input_t hb_subset_input_t;
|
||||
|
||||
/**
|
||||
* hb_subset_plan_t:
|
||||
*
|
||||
* Contains information about how the subset operation will be executed.
|
||||
* Such as mappings from the old glyph ids to the new ones in the subset.
|
||||
*/
|
||||
|
||||
typedef struct hb_subset_plan_t hb_subset_plan_t;
|
||||
|
||||
/**
|
||||
* hb_subset_flags_t:
|
||||
* @HB_SUBSET_FLAGS_DEFAULT: all flags at their default value of false.
|
||||
@@ -124,7 +133,7 @@ hb_subset_input_set_user_data (hb_subset_input_t *input,
|
||||
|
||||
HB_EXTERN void *
|
||||
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);
|
||||
@@ -145,6 +154,41 @@ hb_subset_input_set_flags (hb_subset_input_t *input,
|
||||
HB_EXTERN hb_face_t *
|
||||
hb_subset_or_fail (hb_face_t *source, const hb_subset_input_t *input);
|
||||
|
||||
HB_EXTERN hb_face_t *
|
||||
hb_subset_plan_execute_or_fail (hb_subset_plan_t *plan);
|
||||
|
||||
HB_EXTERN hb_subset_plan_t *
|
||||
hb_subset_plan_create_or_fail (hb_face_t *face,
|
||||
const hb_subset_input_t *input);
|
||||
|
||||
HB_EXTERN void
|
||||
hb_subset_plan_destroy (hb_subset_plan_t *plan);
|
||||
|
||||
HB_EXTERN const hb_map_t*
|
||||
hb_subset_plan_old_to_new_glyph_mapping (const hb_subset_plan_t *plan);
|
||||
|
||||
HB_EXTERN const hb_map_t*
|
||||
hb_subset_plan_new_to_old_glyph_mapping (const hb_subset_plan_t *plan);
|
||||
|
||||
HB_EXTERN const hb_map_t*
|
||||
hb_subset_plan_unicode_to_old_glyph_mapping (const hb_subset_plan_t *plan);
|
||||
|
||||
|
||||
HB_EXTERN hb_subset_plan_t *
|
||||
hb_subset_plan_reference (hb_subset_plan_t *plan);
|
||||
|
||||
HB_EXTERN hb_bool_t
|
||||
hb_subset_plan_set_user_data (hb_subset_plan_t *plan,
|
||||
hb_user_data_key_t *key,
|
||||
void *data,
|
||||
hb_destroy_func_t destroy,
|
||||
hb_bool_t replace);
|
||||
|
||||
HB_EXTERN void *
|
||||
hb_subset_plan_get_user_data (const hb_subset_plan_t *plan,
|
||||
hb_user_data_key_t *key);
|
||||
|
||||
|
||||
HB_END_DECLS
|
||||
|
||||
#endif /* HB_SUBSET_H */
|
||||
|
||||
Reference in New Issue
Block a user