Type Alias read_fonts::tables::gsub::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> Debug for LigatureSet<'a>

source§

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

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

impl<'a> SomeTable<'a> for LigatureSet<'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.