Advertisement

making freetype fonts sharper

Started by February 03, 2006 12:40 PM
0 comments, last by Krohm 18 years, 9 months ago
hello, im using nehes excellent tutorial on integrating freetype fonts into openGL. the only thing i want to improve is to make the fonts a bit sharper, i think this could be done by increasing the texture size a bit. how could i do that? thanks!
Quote: Original post by ehmdjii
i think this could be done by increasing the texture size a bit.

Definatly not. Well, you can do that and get good result but the latest technology improvements showed a different approach.

Try googling "Jim Blinn font curve rendering". You have to search for a pdf paper few pages long.
This algorithm is The Right Way.
It basically requires you to get your hands dirty with various OS-specific calls to pull out the beizer curve representation. From that you extract a polygon soup which is then procedurally textured using a fragment shader (which gives always eye-space resolution).

The result, from what you'll see is very good.
It's quite bad it requires a ton of work, although you'll never have to face the problem again. Everyone considering (even partial) Unicode text support may start screaming.

Previously "Krohm"

This topic is closed to new replies.

Advertisement