Function advance_for_shaped_glyph

Source
pub(crate) fn advance_for_shaped_glyph(
    advance: Au,
    character: char,
    options: &ShapingOptions,
) -> Au
Expand description

Computes the total advance for a glyph, taking letter-spacing and word-spacing into account.