The last line is: To load your font in Irrlicht simply use
Code: Select all
env->addFont("MyFont.xml");Code: Select all
gui::IGUIFont* fontSmall =
device->getGUIEnvironment()->getFont("fontSmall.xml");btw there is problem with creating fonts - eastern europe chars are drawn on the same line
eg:
line 1: ABCDE....K
line 2: L,M,N...
line 3: a..z and special east europe chars are on that line too, (2 or 3 chars are at same place)but I do not know how to fix it