|
OpenTTD Source 20251213-master-g1091fa6071
|
Settings for the four different fonts. More...
#include <fontcache.h>
Data Fields | |
| FontCacheSubSetting | small |
| The smallest font; mostly used for zoomed out view. | |
| 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. | |
| bool | prefer_default |
| Prefer OpenTTD's default font over autodetected fallback fonts. | |
Settings for the four different fonts.
Definition at line 263 of file fontcache.h.
| bool FontCacheSettings::global_aa |
Whether to anti alias all font sizes.
Definition at line 269 of file fontcache.h.
Referenced by GameOptionsWindow::OnClick(), and GameOptionsWindow::OnInvalidateData().
| FontCacheSubSetting FontCacheSettings::large |
The largest font; mostly used for newspapers.
Definition at line 266 of file fontcache.h.
Referenced by GetFontCacheSubSetting().
| FontCacheSubSetting FontCacheSettings::medium |
The normal font size.
Definition at line 265 of file fontcache.h.
Referenced by CheckForMissingGlyphs(), and GetFontCacheSubSetting().
| FontCacheSubSetting FontCacheSettings::mono |
The mono space font used for license/readme viewers.
Definition at line 267 of file fontcache.h.
Referenced by GetFontCacheSubSetting().
| bool FontCacheSettings::prefer_default |
Prefer OpenTTD's default font over autodetected fallback fonts.
Definition at line 270 of file fontcache.h.
Referenced by FontCache::LoadFontCaches(), GameOptionsWindow::OnClick(), and GameOptionsWindow::OnInvalidateData().
| bool FontCacheSettings::prefer_sprite |
Whether to prefer the built-in sprite font over resizable fonts.
Definition at line 268 of file fontcache.h.
Referenced by GetFontCacheFontName(), GameOptionsWindow::OnClick(), and GameOptionsWindow::OnInvalidateData().
| FontCacheSubSetting FontCacheSettings::small |
The smallest font; mostly used for zoomed out view.
Definition at line 264 of file fontcache.h.
Referenced by GetFontCacheSubSetting().