Type Alias read_fonts::tables::cmap::Cmap6
source · pub type Cmap6<'a> = TableRef<'a, Cmap6Marker>;
Expand description
cmap Format 6: Trimmed table mapping
Aliased Type§
struct Cmap6<'a> { /* private fields */ }
Implementations§
source§impl<'a> Cmap6<'a>
impl<'a> Cmap6<'a>
sourcepub fn language(&self) -> u16
pub fn language(&self) -> u16
For requirements on use of the language field, see “Use of the language field in ‘cmap’ subtables” in this document.
sourcepub fn first_code(&self) -> u16
pub fn first_code(&self) -> u16
First character code of subrange.
sourcepub fn entry_count(&self) -> u16
pub fn entry_count(&self) -> u16
Number of character codes in subrange.
sourcepub fn glyph_id_array(&self) -> &'a [BigEndian<u16>]
pub fn glyph_id_array(&self) -> &'a [BigEndian<u16>]
Array of glyph index values for character codes in the range.