Top | ![]() |
![]() |
![]() |
![]() |
#define | HB_OT_MAX_TAGS_PER_LANGUAGE |
#define | HB_OT_MAX_TAGS_PER_SCRIPT |
#define | HB_OT_TAG_DEFAULT_LANGUAGE |
#define | HB_OT_TAG_DEFAULT_SCRIPT |
void hb_ot_tags_from_script_and_language (hb_script_t script
,hb_language_t language
,unsigned int *script_count
,hb_tag_t *script_tags
,unsigned int *language_count
,hb_tag_t *language_tags
);
Converts an hb_script_t and an hb_language_t to script and language tags.
script |
an hb_script_t to convert. |
|
language |
an hb_language_t to convert. |
|
script_count |
maximum number of script tags to retrieve (IN) and actual number of script tags retrieved (OUT). |
[allow-none] |
script_tags |
array of size at least |
[out][allow-none] |
language_count |
maximum number of language tags to retrieve (IN) and actual number of language tags retrieved (OUT). |
[allow-none] |
language_tags |
array of size at least |
[out][allow-none] |
Since: 2.0.0
void hb_ot_tags_to_script_and_language (hb_tag_t script_tag
,hb_tag_t language_tag
,hb_script_t *script
,hb_language_t *language
);
Converts a script tag and a language tag to an hb_script_t and an hb_language_t.
script_tag |
a script tag |
|
language_tag |
a language tag |
|
script |
the hb_script_t corresponding to |
[allow-none] |
language |
the hb_language_t corresponding to |
[allow-none] |
Since: 2.0.0