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> Debug for Sequence<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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
source§

impl<'a> SomeTable<'a> for Sequence<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.