glyph_of_char

Function glyph_of_char 

Source
pub(crate) fn glyph_of_char(
    original: char,
) -> Result<Elevated<&'static Glyph>, Unrecognised>
Expand description

Convert a superscript/subscript/normal Unicode character, if we recognise it, into Elevated<&'static Glyph>.