Skip to main content

apply_kerning

Function apply_kerning 

Source
fn apply_kerning(
    ctx: &mut ApplyContext<'_, '_, '_>,
    second_index: usize,
    buf_idx: usize,
    value: i16,
) -> Option<()>
Expand description

Adds a kerning value to the current glyph’s advance, then moves on to the second glyph of the pair.