diff --git a/src/FontManager.cpp b/src/FontManager.cpp index 4929faaacf..42b56ad5ea 100644 --- a/src/FontManager.cpp +++ b/src/FontManager.cpp @@ -29,15 +29,6 @@ FontManager::~FontManager() } } -void FontManager::ReloadFonts() -{ - for(map::iterator i = g_mapPathToFont.begin(); - i != g_mapPathToFont.end(); ++i) - { - i->second->Reload(); - } -} - Font* FontManager::LoadFont( const RString &sFontOrTextureFilePath, RString sChars ) { Font *pFont; diff --git a/src/FontManager.h b/src/FontManager.h index 5fcdbcfe40..75655628da 100644 --- a/src/FontManager.h +++ b/src/FontManager.h @@ -16,13 +16,6 @@ public: Font *CopyFont( Font *pFont ); void UnloadFont( Font *fp ); //void PruneFonts(); - - /* Warning: This reloads fonts completely, so all BitmapTexts need to be - * reset, too. If this isn't done, best case they end up with old font - * metrics; worst case, they get left with stale pointers to RageTextures - * that'll get freed eventually and crash. This is only used for realtime - * adjustment of fonts in ScreenTestFonts at the moment. */ - void ReloadFonts(); }; extern FontManager* FONT; // global and accessable from anywhere in our program