read_fonts::tables::base

Type Alias Axis

Source
pub type Axis<'a> = TableRef<'a, AxisMarker>;
Expand description

Aliased Type§

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

Implementations§

Source§

impl<'a> Axis<'a>

Source

pub fn base_tag_list_offset(&self) -> Nullable<Offset16>

Offset to BaseTagList table, from beginning of Axis table (may be NULL)

Source

pub fn base_tag_list(&self) -> Option<Result<BaseTagList<'a>, ReadError>>

Attempt to resolve base_tag_list_offset.

Source

pub fn base_script_list_offset(&self) -> Offset16

Offset to BaseScriptList table, from beginning of Axis table

Source

pub fn base_script_list(&self) -> Result<BaseScriptList<'a>, ReadError>

Attempt to resolve base_script_list_offset.

Trait Implementations§

Source§

impl<'a> FontRead<'a> for Axis<'a>

Source§

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

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