Game Development Community

WriteFontCache error

by Chaz Hengesbach · in Torque Game Builder · 12/22/2007 (6:21 pm) · 1 replies

Hello,

writeFontCache() does not allow output of the utf files for fonts aside from the
3 Arial fonts that are already in the common/data/fonts folder of a project.
For example, I get the following message:

* Could not open 'C:/Documents and Settings/Administrator/Application
Data/Independent/Game/fonts/Arial Bold 14 (ansi).utf' for write!

This happens even if I manually add the folders it claims it can't write to. It
happens regardless of what the company name or product name is. It has happened
in TGB 1.5.1 and 1.6.

#1
12/26/2007 (8:45 am)
That's weird, it works in 1.6 for me.

But the save() command doesn't :(