Game Development Community

[Beta2 Bug] Issue with fonts

by Frank Bignone · in Torque 3D Professional · 05/28/2009 (7:57 am) · 1 replies

When creating a new GuiProfile, I found out that sometimes the font are not loaded. In fact, after trying to debug this issue, it happens that the uft file is never created and then I get the following error.
Failed to create resource: [core/fonts/Arial Bold 18 (ansi).uft]

On the other hand the call to
PlatformFont *platFont = createPlatformFont(faceName, size, charset);
is successful... but the end of the call
ret.setResource(resFont);

seems to not create the uft file.

Where can I check why the uft is not created... and thus the next call cannot find it (which is normal in fact)?

About the author

Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.


#1
05/28/2009 (8:45 am)
Just added a small code to always save the utf file after font creation.