Jump to content
  • Advertisement
Sign in to follow this  

BMFont v1.14 beta

This topic is 607 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


That should be font's issue. Glyph's outlines goes beyond font's reported ascent/descent metrics.

Here's how it's seen in fontforge:




Note that font's descent is 240, while curves is actually reaching 274.

That's why those letters was truncated.


I can't really say if it should be allowed or not. But there's microsoft recommendations for opentype fonts: https://www.microsoft.com/typography/otspec/recom.htm




Pixels above the ascent or below the descent will be clipped from the character; this is true for all output devices.


 So, it seems it's common practice to clip those.

Edited by vstrakh

Share this post

Link to post
Share on other sites

vstrakh is correct. The problem here is with the combination of the truetype font and Microsoft's font engine. 


However, I have implemented a work around for it in BMFont already. Try using the option 'Render from TrueType outline'. With that option the application extracts the outline from the font and manually rasterizes it, thus is capable of rendering the full glyph without cropping. The drawback is that the manual rasterization doesn't take advantage of the ClearType technology to get perfectly crisp bitmap font. However, with the size that you're using you'll most likely not notice any difference anyway.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!