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);
change font?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
You can convert the bmp to any format afterwards, though. The next Irrlicht release will support antialiased fonts and makes use of alpha values of images. Thus, it usually uses png format. But this can also be used for normal fonts. All fonts are still bitmapped, though. TrueType extension can be found on the patch page, follow my www-link