Function allsorts::glyph_info::advance
source · [−]pub fn advance(
maxp: &MaxpTable,
hhea: &HheaTable,
hmtx_data: &[u8],
glyph: u16
) -> Result<u16, ParseError>
Expand description
Retrieve glyph advance.
Since the hhea
and vhea
tables share the same format this function will return horizontal
or vertical advance depending on whether hhea
or vhea
is supplied to the hhea
argument.