Sign in to follow this  
openglinator

Strange "size" of generated BitmapFont

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

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

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