vyaz-monorepo / core/src / getGlyphAdvance
Function: getGlyphAdvance()
getGlyphAdvance(
font,codePoint):number|null
Defined in: core/src/measure/FontEngine.ts:174
Get the advance width (in font units) for a single code point.
Parameters
font
codePoint
number
Returns
number | null
advance width in font units, or null if the glyph is missing
