HarfBuzz.ot_var_axis_info_t

Fields

Name

Type

Access

Description

axis_index

int

r/w

Index of the axis in the variation-axis array

default_value

float

r/w

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

flags

HarfBuzz.ot_var_axis_flags_t

r/w

The HarfBuzz.ot_var_axis_flags_t flags for the axis

max_value

float

r/w

The maximum value on the variation axis that the font covers

min_value

float

r/w

The minimum value on the variation axis that the font covers

name_id

int

r/w

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

reserved

int

r

tag

int

r/w

The #hb_tag_t tag identifying the design variation of the axis

Methods

None

Details

class HarfBuzz.ot_var_axis_info_t

Data type for holding variation-axis values.

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

Note: at present, the only flag defined for flags is HarfBuzz.ot_var_axis_flags_t.HIDDEN.

New in version 2.2.0.