isSymbolRunRune function
Whether rune is a super- or subscript that labels draw in
CalseeSymbols as a run (symbolRuns): ² ³ ¹ (U+00B2, B3, B9), ʸ
(U+02B8), ˣ (U+02E3) and U+2070–209F. Fallback is chosen glyph by
glyph, so sin⁻¹ would otherwise mix a fallback ⁻ with the family's
own ¹, and x² would not match a fallback xʸ beside it.
Implementation
bool isSymbolRunRune(int rune) =>
rune == 0x00B2 ||
rune == 0x00B3 ||
rune == 0x00B9 ||
rune == 0x02B8 ||
rune == 0x02E3 ||
(rune >= 0x2070 && rune <= 0x209F);