When I tried to run it again ( directly from Code::Blocks CTRL + F10) with new version of CGUITTFont compiled in, it crashed again. It wrote that it couldn't open arial.ttf although I have it in correct folder. Then I tried to run just compiled .exe ( double click) in and it worked.
I feel stupid because I didn't try this earlier. Sorry for the caused trouble and my bad English.
Eariler it crashed on this line, but I guess that it doesn't matter any more :
- cpp Code: Select all
tt_font->draw( L"Simple font test!", rect<s32>( 0, 0,100, 100), SColor( 0, 50, 50, 50), false, false,0);