draw_text panics when rendering a multiline string with fonts that define a glyph for the newline character
Closed this issue · 0 comments
villuna commented
Putting this here because I encountered it, and if someone runs into it on v0.1.0 they might get some context here. Currently the system skips newlines when generating character instances, but doesn't skip them when drawing. This will cause a panic because we're trying to draw more characters than there are instances in the instance buffer.
Will fix this in a moment and publish it in v0.1.1.