Page 1 of 1
.NET fonts
Posted: Mon Jun 05, 2006 6:35 am
by teromt
Hello,
Is there any way to get fonts look good in irrlicht .NET?
I have seen that there is the TrueType font "extension" but it isn't for .NET version.
Any help is appreciated....
Posted: Tue Jun 06, 2006 2:41 am
by Counterfeit
Hi,
"To make the font a little bit nicer, we load an external font and set it as new font in the skin. An at last, we create a nice Irrlicht Engine logo in the top left corner."
Code: Select all
IGUISkin skin = env.Skin;
IGUIFont font = env.GetFont(path + "fonthaettenschweiler.bmp");
if (font != null) {
skin.Font = font;
}
Take a look at Tutorial 5

Posted: Tue Jun 06, 2006 6:15 am
by teromt
Well, I have tried to load my own fonts (generated with the font creation tool) but they all look like crap

. So that is somewhat out of the question.
Posted: Thu Jun 08, 2006 11:40 am
by teromt
Any ideas?
Posted: Thu Jun 08, 2006 8:58 pm
by Counterfeit
Can you post a image from your "crap" font?
Posted: Fri Jun 09, 2006 1:33 pm
by teromt
Here it is, maybe "crap" is wrong word for it but anyways...
http://img476.imageshack.us/my.php?image=font2de.jpg
Posted: Sat Jun 10, 2006 12:21 am
by Counterfeit
Hi,
mhh sorry but I dont know why it looks so curious.

Posted: Mon Jun 19, 2006 6:51 pm
by house
Yeah, I experience the same font-crapperizing; I think we have to understand Irrlicht isn't going to antialias the fonts like windows does. I can't explain why the aspect ratios of individual characters come up funny, though.