Type Alias read_fonts::tables::gsub::Ligature
source · pub type Ligature<'a> = TableRef<'a, LigatureMarker>;
Expand description
Part of LigatureSubstFormat1
Aliased Type§
struct Ligature<'a> { /* private fields */ }
Implementations§
source§impl<'a> Ligature<'a>
impl<'a> Ligature<'a>
sourcepub fn ligature_glyph(&self) -> GlyphId
pub fn ligature_glyph(&self) -> GlyphId
glyph ID of ligature to substitute
sourcepub fn component_count(&self) -> u16
pub fn component_count(&self) -> u16
Number of components in the ligature
sourcepub fn component_glyph_ids(&self) -> &'a [BigEndian<GlyphId>]
pub fn component_glyph_ids(&self) -> &'a [BigEndian<GlyphId>]
Array of component glyph IDs — start with the second component, ordered in writing direction