diff --git a/Engine/source/gfx/gFont.cpp b/Engine/source/gfx/gFont.cpp index d64e1066e..153d01c0a 100644 --- a/Engine/source/gfx/gFont.cpp +++ b/Engine/source/gfx/gFont.cpp @@ -125,7 +125,7 @@ Resource GFont::create(const String &faceName, U32 size, const char *cach Resource ret; // If the file already exists attempt to load it - if (Platform::isFile(path.getFullPath().c_str())) + if (Torque::FS::IsFile(path.getFullPath().c_str())) { ret = ResourceManager::get().load(path); diff --git a/Templates/BaseGame/game/core/utility/scripts/helperFunctions.tscript b/Templates/BaseGame/game/core/utility/scripts/helperFunctions.tscript index 770413aab..905100648 100644 --- a/Templates/BaseGame/game/core/utility/scripts/helperFunctions.tscript +++ b/Templates/BaseGame/game/core/utility/scripts/helperFunctions.tscript @@ -666,7 +666,8 @@ function populateAllFonts() function delayedFontsPopulation(%font, %hieght, %fontNum) { echo("Font ["@ %fontNum @"] Generating "@ %font SPC %hieght); - populateFontCacheRange(%font,%hieght,1,65535); + populateFontCacheRange(%font,%hieght,32, 126); + populateFontCacheRange(%font,%hieght,160, 65535); } //------------------------------------------------------------------------------