read_fonts::tables::bitmap

Type Alias IndexSubtableArray

Source
pub type IndexSubtableArray<'a> = TableRef<'a, IndexSubtableArrayMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> IndexSubtableArray<'a>

Source

pub fn first_glyph_index(&self) -> GlyphId16

First glyph ID of this range.

Source

pub fn last_glyph_index(&self) -> GlyphId16

Last glyph ID of this range (inclusive).

Source

pub fn additional_offset_to_index_subtable(&self) -> u32

Add to indexSubTableArrayOffset to get offset from beginning of EBLC.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for IndexSubtableArray<'a>

Source§

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

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