Type Alias read_fonts::tables::avar::Avar
source · pub type Avar<'a> = TableRef<'a, AvarMarker>;
Expand description
The avar (Axis Variations) table
Aliased Type§
struct Avar<'a> { /* private fields */ }
Implementations§
source§impl<'a> Avar<'a>
impl<'a> Avar<'a>
sourcepub fn version(&self) -> MajorMinor
pub fn version(&self) -> MajorMinor
Major version number of the axis variations table — set to 1. Minor version number of the axis variations table — set to 0.
sourcepub fn axis_count(&self) -> u16
pub fn axis_count(&self) -> u16
The number of variation axes for this font. This must be the same number as axisCount in the ‘fvar’ table.
sourcepub fn axis_segment_maps(&self) -> VarLenArray<'a, SegmentMaps<'a>>
pub fn axis_segment_maps(&self) -> VarLenArray<'a, SegmentMaps<'a>>
The segment maps array — one segment map for each axis, in the order of axes specified in the ‘fvar’ table.