read_fonts::tables::layout

Type Alias FeatureTableSubstitution

Source
pub type FeatureTableSubstitution<'a> = TableRef<'a, FeatureTableSubstitutionMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> FeatureTableSubstitution<'a>

Source

pub fn version(&self) -> MajorMinor

Major & minor version of the table: (1, 0)

Source

pub fn substitution_count(&self) -> u16

Number of feature table substitution records.

Source

pub fn substitutions(&self) -> &'a [FeatureTableSubstitutionRecord]

Array of feature table substitution records.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for FeatureTableSubstitution<'a>

Source§

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

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