read_fonts::tables::ift

Type Alias GlyphMap

Source
pub type GlyphMap<'a> = TableRef<'a, GlyphMapMarker>;

Aliased Type§

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

Implementations§

Source§

impl<'a> GlyphMap<'a>

Source

pub fn read( data: FontData<'a>, glyph_count: Uint24, max_entry_index: u16, ) -> Result<Self, ReadError>

A constructor that requires additional arguments.

This type requires some external state in order to be parsed.

Source§

impl<'a> GlyphMap<'a>

Source

pub fn first_mapped_glyph(&self) -> u16

Source

pub fn entry_index(&self) -> ComputedArray<'a, U8Or16>

Trait Implementations§

Source§

impl<'a> FontReadWithArgs<'a> for GlyphMap<'a>

Source§

fn read_with_args( data: FontData<'a>, args: &(Uint24, u16), ) -> Result<Self, ReadError>

read an item, using the provided args. Read more
Source§

impl ReadArgs for GlyphMap<'_>