Add: GUI options to select sprite font and AA mode for all fonts.

This commit is contained in:
Michael Lutz
2023-12-16 18:28:49 +01:00
parent 20f1a0dc57
commit e1f5be6244
6 changed files with 66 additions and 2 deletions

View File

@@ -218,6 +218,8 @@ struct FontCacheSettings {
FontCacheSubSetting medium; ///< The normal font size.
FontCacheSubSetting large; ///< The largest font; mostly used for newspapers.
FontCacheSubSetting mono; ///< The mono space font used for license/readme viewers.
bool prefer_sprite; ///< Whether to prefer the built-in sprite font over resizable fonts.
bool global_aa; ///< Whether to anti alias all font sizes.
};
extern FontCacheSettings _fcsettings;