Top |
hb_tag_t | hb_tag_from_string () |
void | hb_tag_to_string () |
hb_direction_t | hb_direction_from_string () |
const char * | hb_direction_to_string () |
hb_script_t | hb_script_from_iso15924_tag () |
hb_script_t | hb_script_from_string () |
hb_tag_t | hb_script_to_iso15924_tag () |
hb_direction_t | hb_script_get_horizontal_direction () |
hb_language_t | hb_language_from_string () |
const char * | hb_language_to_string () |
hb_language_t | hb_language_get_default () |
void | (*hb_destroy_func_t) () |
#define | HB_TAG() |
#define | HB_UNTAG() |
#define | HB_DIRECTION_REVERSE() |
#define | HB_DIRECTION_IS_BACKWARD() |
#define | HB_DIRECTION_IS_FORWARD() |
#define | HB_DIRECTION_IS_HORIZONTAL() |
#define | HB_DIRECTION_IS_VALID() |
#define | HB_DIRECTION_IS_VERTICAL() |
typedef | hb_bool_t |
typedef | hb_codepoint_t |
enum | hb_direction_t |
typedef | hb_language_t |
typedef | hb_mask_t |
typedef | hb_position_t |
typedef | hb_tag_t |
enum | hb_script_t |
hb_user_data_key_t | |
hb_var_int_t | |
#define | HB_TAG_NONE |
#define | HB_TAG_MAX |
#define | HB_TAG_MAX_SIGNED |
#define | HB_LANGUAGE_INVALID |
hb_direction_t hb_direction_from_string (const char *str
,int len
);
Since: 0.9.2
const char *
hb_direction_to_string (hb_direction_t direction
);
Since: 0.9.2
hb_script_t
hb_script_from_iso15924_tag (hb_tag_t tag
);
Converts an ISO 15924 script tag to a corresponding hb_script_t.
Since: 0.9.2
hb_script_t hb_script_from_string (const char *str
,int len
);
Converts a string str
representing an ISO 15924 script tag to a
corresponding hb_script_t. Shorthand for hb_tag_from_string()
then
hb_script_from_iso15924_tag()
.
str |
a string representing an ISO 15924 tag. |
[array length=len][element-type uint8_t] |
len |
length of the |
Since: 0.9.2
hb_tag_t
hb_script_to_iso15924_tag (hb_script_t script
);
See hb_script_from_iso15924_tag()
.
Since: 0.9.2
hb_direction_t
hb_script_get_horizontal_direction (hb_script_t script
);
Since: 0.9.2
hb_language_t hb_language_from_string (const char *str
,int len
);
Converts str
representing an ISO 639 language code to the corresponding
hb_language_t.
str |
a string representing ISO 639 language code. |
[array length=len][element-type uint8_t] |
len |
length of the |
Since: 0.9.2
const char *
hb_language_to_string (hb_language_t language
);
See hb_language_from_string()
.
A NULL
-terminated string representing the language
. Must not be freed by
the caller.
[transfer none]
Since: 0.9.2
#define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint8_t)(c1))<<24)|(((uint8_t)(c2))<<16)|(((uint8_t)(c3))<<8)|((uint8_t)(c4))))
#define HB_UNTAG(tag) ((uint8_t)((tag)>>24)), ((uint8_t)((tag)>>16)), ((uint8_t)((tag)>>8)), ((uint8_t)(tag))
#define HB_DIRECTION_REVERSE(dir) ((hb_direction_t) (((unsigned int) (dir)) ^ 1))
#define HB_DIRECTION_IS_BACKWARD(dir) ((((unsigned int) (dir)) & ~2U) == 5)
#define HB_DIRECTION_IS_FORWARD(dir) ((((unsigned int) (dir)) & ~2U) == 4)
#define HB_DIRECTION_IS_HORIZONTAL(dir) ((((unsigned int) (dir)) & ~1U) == 4)