Issue description:
ArmorPaint does not treat 'äöü€' and similar multibyte glyphs correctly anymore.
Steps to reproduce:
Switch to the German (DE) locale or any other locale that uses non ascii (i.e. non 1 byte characters) like the greek locale where ArmorPaint is completely unusable at the moment
Close ArmorPaint
Open the "Camera" menu
The first entry should be "Zurücksetzen" (reset), but the 'ü' is missing now.
I believe the glyphs are not loaded correctly.
Because if the user goes to the Script tab and types these glyphs, then the behavior changes:
Second observation:
Switching to EN and back to DE (after step 3) fixes the rendering problem.
But the carret in the script tab is still at the "number of bytes" position and not the "number of glyphs"/"text font width" position
ArmorPaint version: ArmorPaint.org - v0.9 (2023-03-08) - c0f1b19
OS/device including version: Windows - Direct3D11
Issue description: ArmorPaint does not treat 'äöü€' and similar multibyte glyphs correctly anymore.
Steps to reproduce:
The first entry should be "Zurücksetzen" (reset), but the 'ü' is missing now. I believe the glyphs are not loaded correctly. Because if the user goes to the Script tab and types these glyphs, then the behavior changes:
Second observation: Switching to EN and back to DE (after step 3) fixes the rendering problem. But the carret in the script tab is still at the "number of bytes" position and not the "number of glyphs"/"text font width" position
Example with greek loale