Create bitmapfont.lua

Adapted from Aaron Meriwether (a.k.a. "p120ph37")'s ShoeBox / AngelCode Bitmap Font Support.

http://developer.coronalabs.com/forum/2011/02/05/bitmap-font

ShoeBox is a free Adobe Air based app for Windows and Mac OSX with game and UI related tools. Each tool uses a drag and drop - or clipboard interaction for a quick workflow.

http://renderhjs.net/shoebox/

AngelCode Bitmap Font Generator allows you to generate bitmap fonts from TrueType fonts. The application generates both image files and character descriptions that can be read by a game for easy rendering of fonts.

The program is freeware and open source.

http://www.angelcode.com/products/bmfont/

This program supports dynamic selection of fonts. Higher resolution devices will use higher resolution images. For best results, the scale factor should be equal to the used in the config.lua file.

To activate dynamic selection of fonts set dynamicScaling to true. To deactivate it set it to false. Be sure to have ONLY the necessary image files in your resource directory.

Updated by Juan Jose Sanchez Ramirez in November 24, 2014.
 * Added dynamic font scaling
 * Fixed alignment

Updated by Michael Wilson in April 30, 2013.
 * Updated to a table based module
 * Moved from sprites to image sheets
 * Added "path" from forum post by KenRogoway
 * Removed input object

http://forums.coronalabs.com/topic/34445-shoebox-free-cross-platform-sprite-packerbitmap-font-tool/