Change font size?? ( SOLVED )
Change font size?? ( SOLVED )
How can I change the font size of a IGUIStaticText??
Last edited by r3i on Mon Nov 07, 2005 11:08 am, edited 1 time in total.
"We work in the dark, we do what we can, we give what we have, Our doubt is our passion and our passion is our task. The rest: is art of Madness" (H.James)
You need to import the a new (larger) font from a bmp which you can get from using the Font tool in the irrlicht tools folder (i think thats where it is).
Then use this code:
env->getSkin()->setFont(env->getFont("font.bmp"));
To get the font from the irrlicht tool to a bmp file use the button in the tool to copy it to the clipboard, then open something like paint and paste it in and save it.
Hope that helps you out.
Then use this code:
env->getSkin()->setFont(env->getFont("font.bmp"));
To get the font from the irrlicht tool to a bmp file use the button in the tool to copy it to the clipboard, then open something like paint and paste it in and save it.
Hope that helps you out.