I created a font bmp file using the Font tool shipped with irrlicht 1.3. When I tried to set the font to that file, I get "The amount of upper corner pixels or lower corner pixels is == 0, font file may be corrupted" and thus it does not use my font but instead uses the default irrlicht font. This is the Font loading code:
IGUISkin* skin = guienv->getSkin();
IGUIFont* font = guienv->getFont("myComic0.bmp");
if (font)
skin->setFont(font);
The file (myComic0.bmp) is in the working dir of the application, so it should find it. The file is 256x256 px.
http://jpttoolsandsolutions.com/images/myComic0.bmp :
Can anybody help? What is wrong?