read_fonts::tables::gsub

Type Alias SubstitutionChainContext

Source
pub type SubstitutionChainContext<'a> = ChainedSequenceContext<'a>;
Expand description

Aliased Type§

enum SubstitutionChainContext<'a> {
    Format1(TableRef<'a, ChainedSequenceContextFormat1Marker>),
    Format2(TableRef<'a, ChainedSequenceContextFormat2Marker>),
    Format3(TableRef<'a, ChainedSequenceContextFormat3Marker>),
}

Variants§

§

Format1(TableRef<'a, ChainedSequenceContextFormat1Marker>)

§

Format2(TableRef<'a, ChainedSequenceContextFormat2Marker>)

§

Format3(TableRef<'a, ChainedSequenceContextFormat3Marker>)

Implementations

Source§

impl<'a> ChainedSequenceContext<'a>

Source

pub fn offset_data(&self) -> FontData<'a>

Return the FontData used to resolve offsets for this table.

Source

pub fn format(&self) -> u16

Format identifier: format = 1

Trait Implementations

Source§

impl<'a> Clone for ChainedSequenceContext<'a>

Source§

fn clone(&self) -> ChainedSequenceContext<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> FontRead<'a> for ChainedSequenceContext<'a>

Source§

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

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