There is a TODO about how it is possible to request more characters than fit in the font bitmap. Ideally the code should check for this and error out more politely. As it is, it would crash.
Solution
Do some math in the code to establish that the character glyphs will actually fit? Evaluate whether that is even possible using stb_truetype.
Use Case
There is a TODO about how it is possible to request more characters than fit in the font bitmap. Ideally the code should check for this and error out more politely. As it is, it would crash.
Solution
Do some math in the code to establish that the character glyphs will actually fit? Evaluate whether that is even possible using stb_truetype.