Expand description
Variation axes and named instances.
Font::axes returns the variation axes of a Font, and
Font::named_instances returns its named instances. A Variation is
a value on one axis in user space. Font::instance_builder creates a
font at a location.
Structs§
- Axes
- A collection of variation axes.
- Axis
- A variation axis, such as weight or width, that a user can change in a variable font.
- Named
Instance - A named location in a variable font, such as “Bold” or “Condensed Light”.
- Named
Instances - A collection of named instances.
- Variation
- A variation setting for a font instance.
Functions§
- fvar 🔒
- Returns the
fvartable of an SFNT font. - type1_
axis_ 🔒records - Returns axis records for the axes of a Type 1 multiple master font.
Type Aliases§
- Normalized
Coord - A normalized variation coordinate in 2.14 fixed point in the range [-1.0, 1.0].