Skip to main content

Module mathfont

Module mathfont 

Source
Expand description

Unicode Mathematical Alphanumeric Symbols mapping (U+1D400–U+1D7FF).

Maps ASCII Latin letters (and digits) to their styled variants in the Unicode Mathematical Alphanumeric Symbols block, keyed by MathFontKind.

Functions§

map_char
Convert a character to its mathematical font variant. Returns the original character if no mapping exists.
map_str
Convert a string by mapping each character through the font transform.