Change: Rename some freetype things to fontcache.

The font cache supports more than just FreeType as a font provider, but still used freetype in some naming.

This now uses more suitable terms.
This commit is contained in:
Peter Nelson
2022-09-15 18:21:27 +01:00
committed by PeterN
parent 273988551d
commit f6ad8e1c9c
16 changed files with 92 additions and 92 deletions

View File

@@ -329,7 +329,7 @@ static void ShutdownGame()
/* No NewGRFs were loaded when it was still bootstrapping. */
if (_game_mode != GM_BOOTSTRAP) ResetNewGRFData();
UninitFreeType();
UninitFontCache();
}
/**
@@ -705,8 +705,8 @@ int openttd_main(int argc, char *argv[])
/* enumerate language files */
InitializeLanguagePacks();
/* Initialize the regular font for FreeType */
InitFreeType(false);
/* Initialize the font cache */
InitFontCache(false);
/* This must be done early, since functions use the SetWindowDirty* calls */
InitWindowSystem();