Hi,
i want to use different Fonts in my game. One way I could do that is load font1, font2, etc. and use font1->draw(...).
But is there a way to use the IGUI... stuff with multiple fonts? That's much nicer because irrlicht manages its rendering and the available controlelements are quite convenient. But as far as I could see, there can only be 1 IGUIEnvironment which only has 1 Font, so changing it changes the font for all GUIElements.
multiple fonts using the gui
-
- Posts: 17
- Joined: Tue Dec 09, 2003 9:03 am
- Location: Germany
-
- Posts: 17
- Joined: Tue Dec 09, 2003 9:03 am
- Location: Germany
just 5 minutes later i found the function that i overlooked:
Code: Select all
void IGUIStaticText::setOverrideFont(IGUIFont* font=0);