Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

Strange "size" of generated BitmapFont


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Ogli   Members   -  Reputation: 143

Like
0Likes
Like

Posted 20 June 2014 - 03:25 PM

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?



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3445

Like
0Likes
Like

Posted 21 June 2014 - 07:18 AM

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.


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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS