read_fonts::tables::stat

Type Alias AxisValueFormat4

Source
pub type AxisValueFormat4<'a> = TableRef<'a, AxisValueFormat4Marker>;
Expand description

Aliased Type§

struct AxisValueFormat4<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> AxisValueFormat4<'a>

Source

pub fn format(&self) -> u16

Format identifier — set to 4.

Source

pub fn axis_count(&self) -> u16

The total number of axes contributing to this axis-values combination.

Source

pub fn flags(&self) -> AxisValueTableFlags

Flags — see below for details.

Source

pub fn value_name_id(&self) -> NameId

The name ID for entries in the ‘name’ table that provide a display string for this combination of axis values.

Source

pub fn axis_values(&self) -> &'a [AxisValueRecord]

Array of AxisValue records that provide the combination of axis values, one for each contributing axis.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for AxisValueFormat4<'a>

Source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more