Type Alias read_fonts::tables::vorg::Vorg
source · pub type Vorg<'a> = TableRef<'a, VorgMarker>;
Expand description
The VORG (Vertical Origin) table.
Aliased Type§
struct Vorg<'a> { /* private fields */ }
Implementations§
source§impl<'a> Vorg<'a>
impl<'a> Vorg<'a>
sourcepub fn version(&self) -> MajorMinor
pub fn version(&self) -> MajorMinor
Major/minor version number. Set to 1.0.
sourcepub fn default_vert_origin_y(&self) -> i16
pub fn default_vert_origin_y(&self) -> i16
The y coordinate of a glyph’s vertical origin, in the font’s design coordinate system, to be used if no entry is present for the glyph in the vertOriginYMetrics array.
sourcepub fn num_vert_origin_y_metrics(&self) -> u16
pub fn num_vert_origin_y_metrics(&self) -> u16
Number of elements in the vertOriginYMetrics array.
sourcepub fn vert_origin_y_metrics(&self) -> &'a [VertOriginYMetrics]
pub fn vert_origin_y_metrics(&self) -> &'a [VertOriginYMetrics]
Array of VertOriginYMetrics records, sorted by glyph ID.