read_fonts::tables::variations

Type Alias DeltaSetIndexMapFormat1

Source
pub type DeltaSetIndexMapFormat1<'a> = TableRef<'a, DeltaSetIndexMapFormat1Marker>;
Expand description

The DeltaSetIndexMap table format 1

Aliased Type§

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

Implementations§

Source§

impl<'a> DeltaSetIndexMapFormat1<'a>

Source

pub fn format(&self) -> u8

DeltaSetIndexMap format: set to 1.

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) -> u32

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 DeltaSetIndexMapFormat1<'a>

Source§

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

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