Strange "size" of generated BitmapFont

Started by
0 comments, last by WitchLord 9 years, 10 months ago

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?

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.

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