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> Debug for LigatureAttach<'a>

source§

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

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

source§

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