Update text-size related caches after changing font details

This commit is contained in:
Jonathan G Rennison
2024-01-15 17:51:33 +00:00
parent d7b75614bb
commit bb22440ab7
4 changed files with 18 additions and 2 deletions

View File

@@ -2286,6 +2286,8 @@ DEF_CONSOLE_CMD(ConFont)
IConsolePrintF(CC_DEFAULT, "%s: \"%s\" %d %s [\"%s\" %d %s]", FontSizeToName(fs), fc->GetFontName().c_str(), fc->GetFontSize(), GetFontAAState(fs) ? "aa" : "noaa", setting->font.c_str(), setting->size, setting->aa ? "aa" : "noaa");
}
FontChanged();
return true;
}