MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getFontCacheFilename

Method getFontCacheFilename

Engine/source/gfx/gFont.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77const U32 GFont::csm_fileVersion = 3;
78
79String GFont::getFontCacheFilename(const String &faceName, U32 size)
80{
81 return String::ToString("%s/%s %d (%s).uft",
82 Con::getVariable("$GUI::fontCacheDirectory"), faceName.c_str(), size, getCharSetName(0));
83}
84
85GFont* GFont::load( const Torque::Path& path )
86{

Callers

nothing calls this directly

Calls 3

getVariableFunction · 0.85
getCharSetNameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected