pub type GlyphVariationDataHeader<'a> = TableRef<'a, GlyphVariationDataHeaderMarker>;
Expand description
The GlyphVariationData table
Aliased Type§
struct GlyphVariationDataHeader<'a> { /* private fields */ }
Implementations§
source§impl<'a> GlyphVariationDataHeader<'a>
impl<'a> GlyphVariationDataHeader<'a>
sourcepub fn tuple_variation_count(&self) -> TupleVariationCount
pub fn tuple_variation_count(&self) -> TupleVariationCount
A packed field. The high 4 bits are flags, and the low 12 bits are the number of tuple variation tables for this glyph. The number of tuple variation tables can be any number between 1 and 4095.
sourcepub fn serialized_data_offset(&self) -> Offset16
pub fn serialized_data_offset(&self) -> Offset16
Offset from the start of the GlyphVariationData table to the serialized data
sourcepub fn serialized_data(&self) -> Result<FontData<'a>, ReadError>
pub fn serialized_data(&self) -> Result<FontData<'a>, ReadError>
Attempt to resolve serialized_data_offset
.
sourcepub fn tuple_variation_headers(
&self,
) -> VarLenArray<'a, TupleVariationHeader<'_>>
pub fn tuple_variation_headers( &self, ) -> VarLenArray<'a, TupleVariationHeader<'_>>
Array of tuple variation headers.