2 Commits
Author SHA1 Message Date
Ghabry 4724575871 Use custom implementation instead of iscntrl because this uses char and is prone to overflow.
Fix #2090
2020-04-01 12:46:51 +02:00
Matthew Fioravante f9c3742986 Refactor Font
GetSize(): Remove u32string overload. Add overloads for
* utf8 std::string
* char32_t

Glyph() and Render():
* Don't create new bitmaps for every character.
* Return rect describing glyph size so we don't have to call GetSize()
later.
2020-02-04 23:05:56 -05:00