read_fonts::tables::gsub

Type Alias LigatureSet

Source
pub type LigatureSet<'a> = TableRef<'a, LigatureSetMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> LigatureSet<'a>

Source

pub fn ligature_count(&self) -> u16

Number of Ligature tables

Source

pub fn ligature_offsets(&self) -> &'a [BigEndian<Offset16>]

Array of offsets to Ligature tables. Offsets are from beginning of LigatureSet table, ordered by preference.

Source

pub fn ligatures(&self) -> ArrayOfOffsets<'a, Ligature<'a>, Offset16>

A dynamically resolving wrapper for ligature_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for LigatureSet<'a>

Source§

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

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