MFC + Irrlicht: GUI Fonts Look Like Crap

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
tehsilly
Posts: 6
Joined: Wed Mar 11, 2009 1:46 am

MFC + Irrlicht: GUI Fonts Look Like Crap

Post by tehsilly »

Hey guys, so I'm running Irrlicht in an MFC application (editor for my main program). It draws all my models and stuff - great. However, drawing fonts (for instance, with IGUIStaticText) results in legible but still garbled characters (ugly ugly ugly). I used the same code and fonts to draw nice, clean, clear characters in my completely Irrlicht program.

Anyone have any idea why this might happen? Thanks.
(Screenshots to come.)
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

There's probably some small difference between the size of the inner pane and the size of the device or video driver.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The d3d drivers also had some problems due to their adressing of positions. This has been resolved in the SVN/trunk version (upcoming 1.6 release) so you might try out if this version fixes your problem or just wait for 1.6
tehsilly
Posts: 6
Joined: Wed Mar 11, 2009 1:46 am

Post by tehsilly »

Excellent. The trunk worked perfectly - everything is crisp and clean now. Thanks guys!

(I didn't look into, but I think you're right, bitplane. I recall having to use the MFC mouse coordinates instead of the Irrlicht device ones because they didn't map correctly to the the screen.)
Post Reply