read_fonts::tables::gpos

Type Alias Gpos

source
pub type Gpos<'a> = TableRef<'a, GposMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> Gpos<'a>

source

pub fn version(&self) -> MajorMinor

The major and minor version of the GPOS table, as a tuple (u16, u16)

source

pub fn script_list_offset(&self) -> Offset16

Offset to ScriptList table, from beginning of GPOS table

source

pub fn script_list(&self) -> Result<ScriptList<'a>, ReadError>

Attempt to resolve script_list_offset.

source

pub fn feature_list_offset(&self) -> Offset16

Offset to FeatureList table, from beginning of GPOS table

source

pub fn feature_list(&self) -> Result<FeatureList<'a>, ReadError>

Attempt to resolve feature_list_offset.

source

pub fn lookup_list_offset(&self) -> Offset16

Offset to LookupList table, from beginning of GPOS table

source

pub fn lookup_list(&self) -> Result<PositionLookupList<'a>, ReadError>

Attempt to resolve lookup_list_offset.

source

pub fn feature_variations_offset(&self) -> Option<Nullable<Offset32>>

source

pub fn feature_variations( &self, ) -> Option<Result<FeatureVariations<'a>, ReadError>>

Attempt to resolve feature_variations_offset.

Trait Implementations§

source§

impl<'a> Debug for Gpos<'a>

source§

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

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

impl<'a> FontRead<'a> for Gpos<'a>

source§

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

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

impl<'a> SomeTable<'a> for Gpos<'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.
source§

impl TopLevelTable for Gpos<'_>

source§

const TAG: Tag = _

GPOS