Skip to main content
GameDev.net gamedev.net
🔒 Locked

BMP font generator

Started by Moose6912 Jan 6, 2007 at 8:48 PM 3 replies 1.6k views
Original Post
Moose6912
Moose6912
Hi, I'm using Angelcode's bitmap font generator tool V 1.8a and when I am trying to generate a bitmap font for the numbers 1 to 9 using Arial size 32. The visualizer showed the generated bitmap font as 345689271 where the order is obviously screwed up. Anyone knows what I'm doing wrong? Am using Win XP SP2.
Gyrbo
Gyrbo
That's how it's supposed to be. The generator tries to optimally use the available space in the texture.
On saving, it also generates a description file which you can use to find the positions of the characters.
WitchLord
WitchLord
Gyrbo is correct.

You must not make any assumptions on how the bitmap will be, the characters won't be placed on any uniform grid, nor will glyph images have the same height and width. You must draw the characters according to the font descriptor file.

Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
Moose6912
Moose6912
Ahh i see, so there is no way for me to specify the order for the characters to appear? Thanks anyway :)
WitchLord
WitchLord
Nope, BMFont needs to be able to choose the location freely in order to utilize the texture space as optimally as possible.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.