Type Alias AatSubtable

Source
pub type AatSubtable<'a> = TableRef<'a, AatSubtableMarker>;
Expand description

A subtable in an AAT kern table.

Aliased Type§

pub struct AatSubtable<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> AatSubtable<'a>

Source

pub fn length(&self) -> u32

The length of this subtable in bytes, including this header.

Source

pub fn coverage(&self) -> u16

Circumstances under which this table is used.

Source

pub fn tuple_index(&self) -> u16

The tuple index (used for variations fonts). This value specifies which tuple this subtable covers.

Source

pub fn data(&self) -> &'a [u8]

Subtable specific data.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for AatSubtable<'a>

Source§

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

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