pub type CursivePosFormat1<'a> = TableRef<'a, CursivePosFormat1Marker>;
Expand description
Cursive Attachment Positioning Format 1: Cursvie attachment
Aliased Type§
struct CursivePosFormat1<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CursivePosFormat1<'a>
impl<'a> CursivePosFormat1<'a>
Sourcepub fn pos_format(&self) -> u16
pub fn pos_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 CursivePos subtable.
Sourcepub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
Attempt to resolve coverage_offset
.
Sourcepub fn entry_exit_count(&self) -> u16
pub fn entry_exit_count(&self) -> u16
Number of EntryExit records
Sourcepub fn entry_exit_record(&self) -> &'a [EntryExitRecord]
pub fn entry_exit_record(&self) -> &'a [EntryExitRecord]
Array of EntryExit records, in Coverage index order.
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.