fn shape_text_with_font(
text: &str,
font: Arc<ResolvedFont>,
small_caps: bool,
apply_kerning: bool,
variations: impl IntoIterator<Item = FontVariation>,
fonts: &mut FontCache,
) -> Option<Vec<Glyph>>Expand description
Converts a text into a list of glyph IDs.
This function will do the BIDI reordering and text shaping.