Skip to content

BitmapText assumes ASCII #81

Description

@qualiaa

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 !).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions