Alpha-test render based font file generator.
Algorithm based on ideas presented by Chris Green from Valve Software in the paper "Improved Alpha-Tested Magnification for Vector Textures and Special Effects,", presented in SIGGRAPH Course on Advanced Real-Time Rendering in 3D Graphics and Games, 2007.
Hencefrom: "Valve-style fontcompiler"
Original paper available from Valve software publications page:
http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf
Image file fitting uses techniques presented by Jukka Jylänki in the paper "A Thousand Ways to Pack the Bin - A Practical Approach to Two-Dimensional Rectangle Bin Packing", 2010.
Paper available in the author's own web page:
http://clb.demon.fi/files/RectangleBinPack.pdf