Font 2 PNG v0.52

Manual

What's Font 2 PNG?

Font 2 PNG converts normal font file, eg. ttf-file to bitmap font as png image.

I needed this kind of tool in order to use my fonts in Monkey X Pro applications. The program can of course be used for other purposes too.

New in version 0.52

  • Characters of the font can be saved as indivudual character
  • Some internal improvement

Usage

Quite selfexplanatory. Select font and options for the selected font and press "Convert!" button.

If "Fixed width" is checked the program produces only the bitmap font file (png), otherwise the program produces two files: font.png and font.dat. Font.png is the bitmap font file, font.dat is data file to be used in Monkey X Pro program.

In the dat file there are two 4 byte integers for each character. The first one is starting position (x-coordinate) of character in the bitmap font, the second is the width of the character in the bitmap font in pixels.

If the background color is saved, the bitmap font the program produces, will be antialised, otherwise the font won't be antialised.

For some system fonts size may not be possible to be changed. Depending on the font, some special characters may be skipped.



See the homepage of this program and for Monkey X and Java codes that use the dat-file.