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 or 2. 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.
sourcepub fn axis_index_map_offset(&self) -> Option<Nullable<Offset32>>
pub fn axis_index_map_offset(&self) -> Option<Nullable<Offset32>>
Offset to DeltaSetIndexMap table (may be NULL).
sourcepub fn axis_index_map(&self) -> Option<Result<DeltaSetIndexMap<'a>, ReadError>>
pub fn axis_index_map(&self) -> Option<Result<DeltaSetIndexMap<'a>, ReadError>>
Attempt to resolve axis_index_map_offset
.
sourcepub fn var_store_offset(&self) -> Option<Nullable<Offset32>>
pub fn var_store_offset(&self) -> Option<Nullable<Offset32>>
Offset to ItemVariationStore (may be NULL).
sourcepub fn var_store(&self) -> Option<Result<ItemVariationStore<'a>, ReadError>>
pub fn var_store(&self) -> Option<Result<ItemVariationStore<'a>, ReadError>>
Attempt to resolve var_store_offset
.