read_fonts::tables::aat

Type Alias ExtendedStateTableU16

Source
pub type ExtendedStateTableU16<'a> = ExtendedStateTable<'a, u16>;

Aliased Type§

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

Implementations

Source§

impl<T: AnyBitPattern + FixedSize> ExtendedStateTable<'_, T>

Source

pub fn class(&self, glyph_id: GlyphId16) -> Result<u16, ReadError>

Returns the class table entry for the given glyph identifier.

Source

pub fn entry(&self, state: u16, class: u16) -> Result<StateEntry<T>, ReadError>

Returns the entry for the given state and class.

Trait Implementations

Source§

impl<'a, T> FontRead<'a> for ExtendedStateTable<'a, T>

Source§

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

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