pub type ConditionFormat1<'a> = TableRef<'a, ConditionFormat1Marker>;
Expand description
Condition Table Format 1: Font Variation Axis Range
Aliased Type§
struct ConditionFormat1<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ConditionFormat1<'a>
impl<'a> ConditionFormat1<'a>
Sourcepub fn axis_index(&self) -> u16
pub fn axis_index(&self) -> u16
Index (zero-based) for the variation axis within the ‘fvar’ table.
Sourcepub fn filter_range_min_value(&self) -> F2Dot14
pub fn filter_range_min_value(&self) -> F2Dot14
Minimum value of the font variation instances that satisfy this condition.
Sourcepub fn filter_range_max_value(&self) -> F2Dot14
pub fn filter_range_max_value(&self) -> F2Dot14
Maximum value of the font variation instances that satisfy this condition.
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.