Function shape_text_with_font

Source
fn shape_text_with_font(
    text: &str,
    font: Arc<ResolvedFont>,
    small_caps: bool,
    apply_kerning: bool,
    fontdb: &Database,
) -> Option<Vec<Glyph>>
Expand description

Converts a text into a list of glyph IDs.

This function will do the BIDI reordering and text shaping.