read_fonts::tables::gpos

Type Alias LigatureArray

Source
pub type LigatureArray<'a> = TableRef<'a, LigatureArrayMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> LigatureArray<'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> LigatureArray<'a>

Source

pub fn ligature_count(&self) -> u16

Number of LigatureAttach table offsets

Source

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

Array of offsets to LigatureAttach tables. Offsets are from beginning of LigatureArray table, ordered by ligatureCoverage index.

Source

pub fn ligature_attaches( &self, ) -> ArrayOfOffsets<'a, LigatureAttach<'a>, Offset16>

A dynamically resolving wrapper for ligature_attach_offsets.

Trait Implementations§

Source§

impl<'a> FontReadWithArgs<'a> for LigatureArray<'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 LigatureArray<'_>