fn shape_text_with_font(
text: &str,
font: Arc<ResolvedFont>,
small_caps: bool,
apply_kerning: bool,
variations: &[FontVariation],
font_size: f32,
font_optical_sizing: FontOpticalSizing,
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.