Font.StringWidth does not handle localization

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Font.StringWidth does not handle localization

Post by Marisa the Magician »

This was found out after many headaches as a result of using this function for aligning text for a Screen.DrawText call (which does handle localization, as seen in line 325 of v_text.cpp).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Font.StringWidth does not handle localization

Post by Graf Zahl »

fixed
Post Reply

Return to “Closed Bugs [GZDoom]”