pub type SingleSubstFormat2<'a> = TableRef<'a, SingleSubstFormat2Marker>;
Expand description
Aliased Type§
struct SingleSubstFormat2<'a> { /* private fields */ }
Implementations§
source§impl<'a> SingleSubstFormat2<'a>
impl<'a> SingleSubstFormat2<'a>
sourcepub fn subst_format(&self) -> u16
pub fn subst_format(&self) -> u16
Format identifier: format = 2
sourcepub fn coverage_offset(&self) -> Offset16
pub fn coverage_offset(&self) -> Offset16
Offset to Coverage table, from beginning of substitution subtable
sourcepub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
Attempt to resolve coverage_offset
.
sourcepub fn glyph_count(&self) -> u16
pub fn glyph_count(&self) -> u16
Number of glyph IDs in the substituteGlyphIDs array
sourcepub fn substitute_glyph_ids(&self) -> &'a [BigEndian<GlyphId16>]
pub fn substitute_glyph_ids(&self) -> &'a [BigEndian<GlyphId16>]
Array of substitute glyph IDs — ordered by Coverage index