Robin wrote:[EDIT: pushed. You may commence the cheering.]
Just updated to it. I get an error running it out of the box, where it sets self.height = y. "Attempt to index global self, a nil value." Having fixed that, unfortunately your change doesn't seem to have stopped the weird rendering for a framebuffer. I'm a bit stumped trying to figure out what could be causing it.
The thing that stumps me is that the End Turn text here is rendered using a framebuffer and the text in it looks fine. The rich text in the log just above it isn't however. But it's not just the rich text, if I draw my own framebuffer there and put some text in it it also looks odd like the rich text. I've checked that the left, and top values given to draw are rounded, just to be sure, and they are.
In any case, since I have one framebuffer working and another not, there has to be some difference that accounts for it. I'll play around and try to figure it out.