glyphToUpperLetter top-level constant

Map<String, String> const glyphToUpperLetter

Glyph-to-uppercase-letter map for punctuation characters whose shapes closely resemble specific letters.

Implementation

const Map<String, String> glyphToUpperLetter = {
  '[': 'L', // vertical + bottom horizontal stroke
  ']': 'J', // vertical + bottom hook
  '|': 'I', // vertical stroke
};