Example for new fonts?

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
jeffm2501
Posts: 9
Joined: Sat Sep 23, 2006 4:07 pm
Location: California, US
Contact:

Example for new fonts?

Post by jeffm2501 »

Is there an example on using the new XML fonts in 1.3?

the new font tool says
"To load your font in Irrlicht, simply use env->addFont(\"Myfont.xml\")"
in it's help text, but as far as I can see, there is no method in the IGUIEnvironment with that name.

calling getFont, with the XML just returns an invalid font.

Am I missing something? the SVN versions dosn't seem to have anything different.
JeffM2501
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

oops, typo. it should read "getFont". vector fonts can be generated but not loaded yet, and I forgot to put a meaninful error message in. :oops:
sorry about that.
non-ascii, antialiased, multi-texture bitmap fonts should work fine though.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply