Strange black border around 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
yin nadie
Posts: 43
Joined: Wed Mar 31, 2004 1:03 pm
Location: Seville, Spain
Contact:

Strange black border around fonts

Post by yin nadie »

It appears when usng the OPENGL drivers in linux.

Basically, each character appears to have been anti-aliased in the own font texture. The effect is very similar to the one you get when a texture whose size isn't 2^N is drawn to the screen.

Since my font image is a standard 256x256, made with the IRRLicht font-generating utility, I don't know what to make of this

any suggestions?
yin nadie
Posts: 43
Joined: Wed Mar 31, 2004 1:03 pm
Location: Seville, Spain
Contact:

Post by yin nadie »

Last News: (meaning something i noticed days ago but forgot to post). I have been giving to the funcion IGUIFont::draw some colors whose alpha channel isn't the opaque 255. The behaviour if the resulting code seems a tad random to me.

In a nutshell. The text doesn't become transparent as one would expect, but causes stange effects. With a alpha channel of 0 it does disapear and with 255 it is opaque, but the intermediate values are... strange. The most of the time any value over zero will be completely opaque (something i can't use for my purposes), but...

Any help?
Post Reply