pub fn shape_text(text: &str, font_data: &[u8]) -> Option<Vec<ShapedGlyph>>Expand description
Shape text using the given font data.
Returns None if the font data can’t be parsed. For standard fonts
(no font data), callers should skip shaping entirely.