read_fonts::tables::layout

Type Alias ConditionFormat1

Source
pub type ConditionFormat1<'a> = TableRef<'a, ConditionFormat1Marker>;
Expand description

Condition Table Format 1: Font Variation Axis Range

Aliased Type§

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

Implementations§

Source§

impl<'a> ConditionFormat1<'a>

Source

pub fn format(&self) -> u16

Format, = 1

Source

pub fn axis_index(&self) -> u16

Index (zero-based) for the variation axis within the ‘fvar’ table.

Source

pub fn filter_range_min_value(&self) -> F2Dot14

Minimum value of the font variation instances that satisfy this condition.

Source

pub fn filter_range_max_value(&self) -> F2Dot14

Maximum value of the font variation instances that satisfy this condition.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for ConditionFormat1<'a>

Source§

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

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