Type Alias read_fonts::tables::vmtx::Vmtx
source · pub type Vmtx<'a> = TableRef<'a, VmtxMarker>;
Expand description
The vmtx (Vertical Metrics) table
Aliased Type§
struct Vmtx<'a> { /* private fields */ }
Implementations§
source§impl<'a> Vmtx<'a>
impl<'a> Vmtx<'a>
sourcepub fn v_metrics(&self) -> &'a [LongMetric]
pub fn v_metrics(&self) -> &'a [LongMetric]
Paired advance height and top side bearing values for each glyph. Records are indexed by glyph ID.
sourcepub fn top_side_bearings(&self) -> &'a [BigEndian<i16>]
pub fn top_side_bearings(&self) -> &'a [BigEndian<i16>]
Top side bearings for glyph IDs greater than or equal to numberOfLongMetrics.