Jump to content
  • Advertisement
Sign in to follow this  
Tjaalie

Bitmap font help

This topic is 3825 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!