Type Alias Subtable2ClassTable

Source
pub type Subtable2ClassTable<'a> = TableRef<'a, Subtable2ClassTableMarker>;
Expand description

Class table for the type 2 kern subtable.

Aliased Type§

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

Implementations§

Source§

impl<'a> Subtable2ClassTable<'a>

Source

pub fn first_glyph(&self) -> GlyphId16

First glyph in class range.

Source

pub fn n_glyphs(&self) -> u16

Number of glyph in class range.

Source

pub fn offsets(&self) -> &'a [BigEndian<u16>]

The offsets array for all of the glyphs in the range.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for Subtable2ClassTable<'a>

Source§

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

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