read_fonts::tables::variations

Type Alias DeltaSetIndexMapFormat0

Source
pub type DeltaSetIndexMapFormat0<'a> = TableRef<'a, DeltaSetIndexMapFormat0Marker>;
Expand description

The DeltaSetIndexMap table format 0

Aliased Type§

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

Implementations§

Source§

impl<'a> DeltaSetIndexMapFormat0<'a>

Source

pub fn format(&self) -> u8

DeltaSetIndexMap format: set to 0.

Source

pub fn entry_format(&self) -> EntryFormat

A packed field that describes the compressed representation of delta-set indices. See details below.

Source

pub fn map_count(&self) -> u16

The number of mapping entries.

Source

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

The delta-set index mapping data. See details below.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for DeltaSetIndexMapFormat0<'a>

Source§

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

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