read_fonts::tables::gsub

Type Alias Sequence

Source
pub type Sequence<'a> = TableRef<'a, SequenceMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> Sequence<'a>

Source

pub fn glyph_count(&self) -> u16

Number of glyph IDs in the substituteGlyphIDs array. This must always be greater than 0.

Source

pub fn substitute_glyph_ids(&self) -> &'a [BigEndian<GlyphId16>]

String of glyph IDs to substitute

Trait Implementations§

Source§

impl<'a> FontRead<'a> for Sequence<'a>

Source§

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

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