1
0
Fork 0

Fix: Changing monospace font didn't refresh the monospace width cache. (#14185)

pull/14201/head
Peter Nelson 2025-05-03 18:34:45 +01:00 committed by GitHub
parent 7596f98e2d
commit 31754a0afd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);