read_fonts::tables::gpos

Type Alias MarkArray

Source
pub type MarkArray<'a> = TableRef<'a, MarkArrayMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> MarkArray<'a>

Source

pub fn mark_count(&self) -> u16

Number of MarkRecords

Source

pub fn mark_records(&self) -> &'a [MarkRecord]

Array of MarkRecords, ordered by corresponding glyphs in the associated mark Coverage table.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for MarkArray<'a>

Source§

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

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