Type Alias read_fonts::tables::gpos::CursivePosFormat1

source ·
pub type CursivePosFormat1<'a> = TableRef<'a, CursivePosFormat1Marker>;
Expand description

Aliased Type§

struct CursivePosFormat1<'a> { /* private fields */ }

Implementations§

source§

impl<'a> CursivePosFormat1<'a>

source

pub fn pos_format(&self) -> u16

Format identifier: format = 1

source

pub fn coverage_offset(&self) -> Offset16

Offset to Coverage table, from beginning of CursivePos subtable.

source

pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>

Attempt to resolve coverage_offset.

source

pub fn entry_exit_count(&self) -> u16

Number of EntryExit records

source

pub fn entry_exit_record(&self) -> &'a [EntryExitRecord]

Array of EntryExit records, in Coverage index order.

Trait Implementations§

source§

impl<'a> Debug for CursivePosFormat1<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for CursivePosFormat1<'a>

source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instace of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for CursivePosFormat1<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.