Font texture..

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

Font texture..

Post by Bluelight »

It's increadible.. I've already forgotten how to change the font..

Code:

gui::IGUIStaticText* text = env->addStaticText(
L"visit http://www.infernusweb.net",
core::rect<s32>(10,453,200,475), true, true, 0, -1, true);

_____________

How do I change this font texture so it uses: media/fontArial.bmp
?
BlueLight
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

From the meshviewer example:

Code: Select all

// set a nicer font
	IGUISkin* skin = env->getSkin();	IGUIFont* font = env->getFont("../../media/fonthaettenschweiler.bmp");	if (font)		skin->setFont(font);
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

:)

Post by Bluelight »

Darn.. I knew I saw it somewhere before.. :p

Thanks.. :)
BlueLight
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

Bet you thought you were the only one to do that to, didn't ya? :wink: '
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Post Reply