PDA

View Full Version : my fonts are really grainy



babyvegas
06-26-2008, 07:34 PM
Hi,

im creating a font like this...

CL_Font font("Arial",24,24,1,0,0,0);

but it's horrible and grainy when I draw with it.

anyone know how to do really nice smooth fonts?

Many thanks

rombust
06-30-2008, 09:06 AM
I do not know about ClanLib 0.8, but ClanLib 0.9, the fonts look very nice :)

hubadu
07-10-2008, 03:35 PM
I have (may be) the same issue:

http://uppix.net/f/2/1/0a819040fd77194865f5b32fb6691.png



some idea ?

rombust
07-11-2008, 09:03 AM
I assume that you changed the background color on your screen

Attached is Linux 0.8 Examples/Font1 screen
Also attached in Linux 0.9 Tests/Display/Font1 screen

Maybe a Microsoft windows only problem?

hubadu
07-11-2008, 04:07 PM
Actualy it was an issue with my other code using opengl, so i do manualy a glEnable(GL_BLEND); and now it works.

For babyvegas, I think you are loading the font directly from the OS with this code, noway to have smooth font. The only way in 0.8.1 for making "smooth" font is to handle this with photoshop, look in the font overview documentation.