change font?
Posted: Thu Oct 05, 2006 8:22 pm
Hi,
I'm trying to change the font of my programm with the sample shown in IOtutorial.
now my questions, is it necessary to use a .bmp?
Is there any other way to change fonts?
Here is my code for font changing...
and its not working...
IGUISkin* skin = environment->getSkin();
IGUIFont* font = environment->getFont("../bitlow.ttf");
if (font)
skin->setFont(font);
I'm trying to change the font of my programm with the sample shown in IOtutorial.
now my questions, is it necessary to use a .bmp?
Is there any other way to change fonts?
Here is my code for font changing...
and its not working...
IGUISkin* skin = environment->getSkin();
IGUIFont* font = environment->getFont("../bitlow.ttf");
if (font)
skin->setFont(font);