mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
cut control chars for font population
zip referenceablilty for font files
This commit is contained in:
parent
bb44fa4bb7
commit
fd02044d20
|
|
@ -125,7 +125,7 @@ Resource<GFont> GFont::create(const String &faceName, U32 size, const char *cach
|
|||
Resource<GFont> 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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue