Bitmap font generator http://www.angelcode.com/products/bmfont can creates fonts in black and white only. I’m looking for more advanced tool. Share you experience on it please. Thanks in advance. (Output file format is .fnt)
Please log in or register to post a reply.
Hello dimakoles, libGDX embeds Hiero, a very nice bitmap font generation tool I’ve used on many occasions. It’s easy to run and produces very appealing results.I suggest you give it a try.
I used that tool long ago and it was pretty good. Since then I use two bitmap font generators. One I wrote myself, which outputs in a format native to my engine (XML + png). I also wrote a python script to render artsy bitmap fonts in Blender 3D. It works by designing a single glyph and the script will iterate over the character range to render each one.
My fonts are always white with a transparent background. My engine is designed to colour the font as needed at runtime using a blend multiply operation. If the API is restrictive and doesn’t support that, my engine will pregenerate the colour versions of the font at load time. This offers the greatest flexibility and saves me from micromanaging multiple versions of the font.
I use signed distance field fonts similar to this (http://www.youtube.com/watch?v=CGZRHJvJYIg)
The tool I use is based on this http://www.gamedev.net/topic/491938-signed-distance-bitmap-font-tool/
As TheNut does, I then colourise the font in the shader, in some cases I texture the font, though that gets a bit more complex.