Type Alias AttachList

Source
pub type AttachList<'a> = TableRef<'a, AttachListMarker>;
Expand description

Aliased Type§

pub struct AttachList<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> AttachList<'a>

Source

pub fn coverage_offset(&self) -> Offset16

Offset to Coverage table - from beginning of AttachList table

Source

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

Attempt to resolve coverage_offset.

Source

pub fn glyph_count(&self) -> u16

Number of glyphs with attachment points

Source

pub fn attach_point_offsets(&self) -> &'a [BigEndian<Offset16>]

Array of offsets to AttachPoint tables-from beginning of AttachList table-in Coverage Index order

Source

pub fn attach_points(&self) -> ArrayOfOffsets<'a, AttachPoint<'a>, Offset16>

A dynamically resolving wrapper for attach_point_offsets.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for AttachList<'a>

Source§

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

Read an instance of Self from the provided data, performing validation. Read more