ot_var_axis_info_t

Added in version 2.2.0.

class ot_var_axis_info_t(*args, **kwargs)

Data type for holding variation-axis values.

The minimum, default, and maximum values are in un-normalized, user scales.

<note>Note: at present, the only flag defined for flags is HB_OT_VAR_AXIS_FLAG_HIDDEN.</note>

Fields

class ot_var_axis_info_t
axis_index

Index of the axis in the variation-axis array

default_value

The position on the variation axis corresponding to the font’s defaults

flags

The ot_var_axis_flags_t flags for the axis

max_value

The maximum value on the variation axis that the font covers

min_value

The minimum value on the variation axis that the font covers

name_id

The name table Name ID that provides display names for the axis

reserved
tag

The tag_t tag identifying the design variation of the axis