🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Excessive spacing without font smoothing

Started by
1 comment, last by WitchLord 6 years, 11 months ago

Is there a trick to getting correct character spacing when using Arial Unicode? If you look at the font sample, there are larger gaps between characters if you don't enable font smoothing.

Shouldn't the gap be a little less when smoothing is not wanted? Or am I just not "getting" it?

Could anyone tell me if this is normal?

arial_unicode.png

 

Here are the settings I'm using. The top sample in the image above is without font smoothing (which is what I want).

bmfont.png

Advertisement

Why do you say that the spacing is incorrect? 

The spacing between characters in fonts are defined by the font designer when he (or she) creates the TrueType font. BMFont just converts the TrueType into a bitmap font. The spacing is usually set to keep a consistent and natural "flow" when reading the text, and not necessarily to keep the characters as close together as possible.

If you want to modify the original spacing then you can do so by editing the font descriptor file after it has been generated. Or you can do it dynamically at run-time when writing the text using the bitmap font, if you have access to the code for whatever application you're generating the font for.

 

 

 

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement