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