On Mon Feb 5 19:22:12 2024 +0000, Esme Povirk wrote:
I think the size should include only the characters in fitaux, and if you continue increasing size it may include later characters that would hypothetically fit if you skipped drawing some.
While trying to change this I found another bug where for some reason the draw_string_callback function would write the sections over the old one, instead of continuing, however I couldn't reproduce it in a test (it happens in the Brothers: a Tale of Two Sons game launcher, in the key bindings menu, with the Russian language). I accidentally fixed it when I was trying to see if we could use font_link_get_text_extent_point directly instead of GdipMeasureString in draw_string_callback.