pub type SingleSubstFormat1<'a> = TableRef<'a, SingleSubstFormat1Marker>;
Expand description
Aliased Type§
struct SingleSubstFormat1<'a> { /* private fields */ }
Implementations§
source§impl<'a> SingleSubstFormat1<'a>
impl<'a> SingleSubstFormat1<'a>
sourcepub fn subst_format(&self) -> u16
pub fn subst_format(&self) -> u16
Format identifier: format = 1
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 delta_glyph_id(&self) -> i16
pub fn delta_glyph_id(&self) -> i16
Add to original glyph ID to get substitute glyph ID