mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-25 14:40:10 +01:00
Fix: Changing monospace font didn't refresh the monospace width cache. (#14185)
This commit is contained in:
parent
7596f98e2d
commit
31754a0afd
@ -129,7 +129,7 @@ void SetFont(FontSize fontsize, const std::string &font, uint size)
|
||||
InitFontCache(true);
|
||||
}
|
||||
|
||||
LoadStringWidthTable();
|
||||
LoadStringWidthTable(fontsize == FS_MONO);
|
||||
UpdateAllVirtCoords();
|
||||
ReInitAllWindows(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user