Documentation

How to use Bitmap Font Machine

The simplest way to get your first result is to hit the "Export" button. Bitmap Font Machine will then ask you for the name of the PNG file you want to save. If you save it as "myfont.png", Bitmap Font Machine will also generate a "myfont.xml" in the same directory. This XML file contains the image dimensions and positional and size information for each glyph in the ASCII character set.

As a general advice, simply play around with the settings and when you are happy with it, export your font !

Advice

Use x-spacing on tricky fonts
Quite a bit of fonts are designed in a way that leads to overlapping glyph boxes. You can see this as "dirty" artifacts in the Preview tab of Bitmap Font Machine. By using a certain amount of x-spacing, these artifacts can be eliminated.

Look at the sample code
Our sample code (on the Downloads page) demonstrates how the bitmap font generated by Bitmap Font Machine could be used within an OpenGL application.

Use your own format
The layout data of a bitmap font is exported as an XML file. We recommend that you use this as a starting point to convert it to your own file format which can be processed more efficiently.
Our sample code (on the Downloads page) contains a sample application that demonstrates how to do so.