read_fonts::tables::gdef

Type Alias LigGlyph

Source
pub type LigGlyph<'a> = TableRef<'a, LigGlyphMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> LigGlyph<'a>

Source

pub fn caret_count(&self) -> u16

Number of CaretValue tables for this ligature (components - 1)

Source

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

Array of offsets to CaretValue tables, from beginning of LigGlyph table — in increasing coordinate order

Source

pub fn caret_values(&self) -> ArrayOfOffsets<'a, CaretValue<'a>, Offset16>

A dynamically resolving wrapper for caret_value_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for LigGlyph<'a>

Source§

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

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