Jump to content
  • Advertisement
Sign in to follow this  
openglinator

BitmapFont: explanation for all parameters

This topic is 1492 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,

 

it's been a while now that I've created my own .fnt parser and merge-tool that combines two fonts together.

 

Now I want to make my own .fnt files for custom bitmaps (with my smileys).

And I also want to merge the content of two .png files containing some glyphs.

 

But to achieve my goal, I must fully understand the content of the two header-lines in .fnt files.

Is there a short (ore detailed, I prefer detailed) overview of what all those parameters mean? Here's my header:

info face="Batang" size=-24 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,0 outline=3
common lineHeight=24 base=21 scaleW=4096 scaleH=4096 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0

Thanks for sharing any easy-access-information (I know, there is a source code around somewhere now too).
 :-)

 

Share this post


Link to post
Share on other sites
Advertisement
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!