Type Alias read_fonts::tables::gsub::Ligature

source ·
pub type Ligature<'a> = TableRef<'a, LigatureMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> Ligature<'a>

source

pub fn ligature_glyph(&self) -> GlyphId16

glyph ID of ligature to substitute

source

pub fn component_count(&self) -> u16

Number of components in the ligature

source

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

Array of component glyph IDs — start with the second component, ordered in writing direction

Trait Implementations§

source§

impl<'a> Debug for Ligature<'a>

source§

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

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for Ligature<'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 Ligature<'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.