1
0
Fork 0

Fix: Changing monospace font didn't refresh the monospace width cache.

pull/14185/head
Peter Nelson 2025-05-01 11:53:05 +01:00
parent d958d50985
commit 05f3a8bdd5
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ void SetFont(FontSize fontsize, const std::string &font, uint size)
InitFontCache(true);
}
LoadStringWidthTable();
LoadStringWidthTable(fontsize == FS_MONO);
UpdateAllVirtCoords();
ReInitAllWindows(true);