read_fonts::tables::gpos

Type Alias LigatureAttach

Source
pub type LigatureAttach<'a> = TableRef<'a, LigatureAttachMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> LigatureAttach<'a>

Source

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

A constructor that requires additional arguments.

This type requires some external state in order to be parsed.

Source§

impl<'a> LigatureAttach<'a>

Source

pub fn component_count(&self) -> u16

Number of ComponentRecords in this ligature

Source

pub fn component_records(&self) -> ComputedArray<'a, ComponentRecord<'a>>

Array of Component records, ordered in writing direction.

Trait Implementations§

Source§

impl<'a> FontReadWithArgs<'a> for LigatureAttach<'a>

Source§

fn read_with_args(data: FontData<'a>, args: &u16) -> Result<Self, ReadError>

read an item, using the provided args. Read more
Source§

impl ReadArgs for LigatureAttach<'_>