Jump to content
  • Advertisement
Sign in to follow this  
openglinator

Strange "size" of generated BitmapFont

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

Hello,

 

somehow my cool subtitle font has a strange value for the "size" parameter:

 size=-24

and indeed, when I set the size at runtime to values like "32", it looks inverted (top-down).

I must use negative values like "-32" when I want to resize the font.

 

Any ideas where this comes from?

Share this post


Link to post
Share on other sites
Advertisement

The 'info' block is just a little information on the original truetype font used to generate the bitmap font. This is normally not used while rendering the text. 

 

A negative size here reflects that the size is matching the cell height, rather than the character height.

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!