katana-document-viewer 0.1.4

KatanA document viewer artifact, render evaluation, and export foundation.
Documentation
1
2
3
4
5
6
7
8
9
10
#[cfg(test)]
pub(super) fn is_half_width_math_symbol(character: char) -> bool {
    HALF_WIDTH_MATH_SYMBOLS.contains(&character)
}

#[cfg(test)]
const HALF_WIDTH_MATH_SYMBOLS: &[char] = &[
    'α', 'β', 'γ', 'δ', '', '', '', '', '', '¹', '²', '³', '', '', '', '', '', '', '',
    'ˣ', '', '', '', '', '', '', '', '', '', '', '',
];