Type Alias AatKern

Source
pub type AatKern<'a> = TableRef<'a, AatKernMarker>;
Expand description

The Apple Advanced Typography kerning table.

Aliased Type§

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

Implementations§

Source§

impl<'a> AatKern<'a>

Source

pub fn version(&self) -> MajorMinor

The version number of the kerning table (0x00010000 for the current version).

Source

pub fn n_tables(&self) -> u32

The number of subtables included in the kerning table.

Source

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

Data for subtables, immediately following the header.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for AatKern<'a>

Source§

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

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