char mappings are not guaranteed to be ASCII, or even contiguous, so the code which indexes the fontmap is implementation defined.
A much better alternative would be for the user to supply BitmapText a map, i.e. an std::string copy of the fontmap ("!abcdefg..." for lowercase letters in alphabetical order, preceded by an !).
char mappings are not guaranteed to be ASCII, or even contiguous, so the code which indexes the fontmap is implementation defined.
A much better alternative would be for the user to supply BitmapText a map, i.e. an std::string copy of the fontmap ("!abcdefg..." for lowercase letters in alphabetical order, preceded by an !).