Sign in to follow this  
Tjaalie

Bitmap font help

Recommended Posts

Dear Thread reader, Im still working on my own engine and have implented a simple bitmap font system. This system will allow for different colors and sizes with one font texture, the only problem is that when I size the font down to a scale smaller then the original one it becomes very ugly as you can see here. I tried changing some sampler states, but they only seem te make it worse. So does anyone know any good render states that will improve my text? Thanks anyway! Tjaalie,

Share this post


Link to post
Share on other sites
What sort of scaling are you referring to? Linear filtering tends to lose quality if you more than halve or double the size for example.

In my experience pre-processing the bitmap font to have a non-binary alpha channel (e.g. an A4 or A8 texture) and a very light soften/blur operator on the image can work really well. It's a sort of crude way of getting an effect similar to Windows' ClearType AntiAliasing.

hth
Jack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this