Top | ![]() |
![]() |
![]() |
![]() |
hb_bool_t | hb_ot_var_has_data () |
hb_bool_t | hb_ot_var_find_axis () |
unsigned int | hb_ot_var_get_axis_count () |
unsigned int | hb_ot_var_get_axes () |
void | hb_ot_var_normalize_variations () |
void | hb_ot_var_normalize_coords () |
#define | HB_OT_TAG_VAR_AXIS_ITALIC |
#define | HB_OT_TAG_VAR_AXIS_OPTICAL_SIZE |
#define | HB_OT_TAG_VAR_AXIS_SLANT |
#define | HB_OT_TAG_VAR_AXIS_WEIGHT |
#define | HB_OT_TAG_VAR_AXIS_WIDTH |
#define | HB_OT_VAR_NO_AXIS_INDEX |
hb_ot_var_axis_t |
hb_bool_t
hb_ot_var_has_data (hb_face_t *face
);
This function allows to verify the presence of OpenType variation data on the face.
Alternatively, use hb_ot_var_get_axis_count()
.
Since: 1.4.2
hb_bool_t hb_ot_var_find_axis (hb_face_t *face
,hb_tag_t axis_tag
,unsigned int *axis_index
,hb_ot_var_axis_t *axis_info
);
Since: 1.4.2
unsigned int hb_ot_var_get_axes (hb_face_t *face
,unsigned int start_offset
,unsigned int *axes_count
,hb_ot_var_axis_t *axes_array
);
Since: 1.4.2
void hb_ot_var_normalize_variations (hb_face_t *face
,const hb_variation_t *variations
,unsigned int variations_length
,int *coords
,unsigned int coords_length
);
Since: 1.4.2
typedef struct { hb_tag_t tag; unsigned int name_id; float min_value; float default_value; float max_value; } hb_ot_var_axis_t;
Since: 1.4.2