pub type LigCaretList<'a> = TableRef<'a, LigCaretListMarker>;
Expand description
Aliased Type§
struct LigCaretList<'a> { /* private fields */ }
Implementations§
Source§impl<'a> LigCaretList<'a>
impl<'a> LigCaretList<'a>
Sourcepub fn coverage_offset(&self) -> Offset16
pub fn coverage_offset(&self) -> Offset16
Offset to Coverage table - from beginning of LigCaretList table
Sourcepub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
Attempt to resolve coverage_offset
.
Sourcepub fn lig_glyph_count(&self) -> u16
pub fn lig_glyph_count(&self) -> u16
Number of ligature glyphs
Sourcepub fn lig_glyph_offsets(&self) -> &'a [BigEndian<Offset16>]
pub fn lig_glyph_offsets(&self) -> &'a [BigEndian<Offset16>]
Array of offsets to LigGlyph tables, from beginning of LigCaretList table —in Coverage Index order
Sourcepub fn lig_glyphs(&self) -> ArrayOfOffsets<'a, LigGlyph<'a>, Offset16>
pub fn lig_glyphs(&self) -> ArrayOfOffsets<'a, LigGlyph<'a>, Offset16>
A dynamically resolving wrapper for lig_glyph_offsets
.
Source§impl<'a, T> TableRef<'a, T>
impl<'a, T> TableRef<'a, T>
Sourcepub fn resolve_offset<O: Offset, R: FontRead<'a>>(
&self,
offset: O,
) -> Result<R, ReadError>
pub fn resolve_offset<O: Offset, R: FontRead<'a>>( &self, offset: O, ) -> Result<R, ReadError>
Resolve the provided offset from the start of this table.
Sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return a reference to this table’s raw data.
We use this in the compile crate to resolve offsets.