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> Debug for IndexSubtableArray<'a>

source§

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

Formats the value using the given formatter. Read more
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
source§

impl<'a> SomeTable<'a> for IndexSubtableArray<'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.