Text Rendering Bugs (Patreon)
Content
First, the version 0.12.0 displays the wrong version number in the Credits menu (0.11.2). This will be fixed in the next release.
Besides the bugs already mentioned, I found out that centered and right-aligned horizontal alignment is wrong when word wrapping is used. This was fixed now.
There's also another bug where word wrapping is done a word earlier than it should. I'm looking into it now.
Right now, row alignment is handled by M_PrintText, but it could make more sense to handle it in M_PrintLine, which will be called directly to render menu items.
I'm also refactoring the textbox rendering usage. The only feature that I still need to think out how to implement are multi-column texts (used for displaying data in the bottom info panel on the save/load menus, for example). But so far, the code is already more compact than before.