Type Alias Kerx

Source
pub type Kerx<'a> = TableRef<'a, KerxMarker>;
Expand description

Aliased Type§

pub struct Kerx<'a> {
    pub(crate) shape: KerxMarker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: KerxMarker§data: FontData<'a>

Implementations§

Source§

impl<'a> Kerx<'a>

Source

pub fn version(&self) -> u16

The version number of the extended kerning table (currently 2, 3, or 4)

Source

pub fn n_tables(&self) -> u32

The number of subtables included in the extended kerning table.

Source

pub fn subtables(&self) -> VarLenArray<'a, Subtable<'a>>

Trait Implementations§

Source§

impl<'a> Debug for Kerx<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> FontRead<'a> for Kerx<'a>

Source§

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

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

impl<'a> SomeTable<'a> for Kerx<'a>

Source§

fn type_name(&self) -> &str

The name of this table
Source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.
Source§

impl TopLevelTable for Kerx<'_>

Source§

const TAG: Tag

kerx