forked from mirror/OpenTTD
Fix: Changing monospace font didn't refresh the monospace width cache. (#14185)
This commit is contained in:
@@ -129,7 +129,7 @@ void SetFont(FontSize fontsize, const std::string &font, uint size)
|
||||
InitFontCache(true);
|
||||
}
|
||||
|
||||
LoadStringWidthTable();
|
||||
LoadStringWidthTable(fontsize == FS_MONO);
|
||||
UpdateAllVirtCoords();
|
||||
ReInitAllWindows(true);
|
||||
|
||||
|
Reference in New Issue
Block a user