10/06/2005 07:12:17 (Error) Exception: Font::defineFontGlyphs_impl - operation requires a texture larger than the supported maximum.
10/06/2005 07:12:17 (Error) XercesParser::parseXMLFile - An unexpected error occurred while parsing XML file 'datafiles/fonts/Tahoma-8.font'.
10/06/2005 07:12:17 (Error) Font::load - loading of Font from file 'datafiles/fonts/Tahoma-8.font' failed.
Anyone know how to fix this? I'm using a directx9 renderer with this code:
Code: Select all
// create our font
Font *font = FontManager::getSingleton().createFont("datafiles/fonts/Tahoma-8.font");
font->defineFontGlyphs( (utf8*)" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" );
System::getSingleton().setDefaultFont(font);
Thanks,
-Derek