Home

Awesome

octofont

ttf-to-textfont will convert a TrueType font into a 'textfont' file, which is a simple text file describing a bitmapped font.

textfont-to-octo will convert the textfont file into Octo assembly code.

An intermediate file is used so that the font can be hand edited before the final conversion.

This is a hacked-up work in progress. To get full functionality, you will need to edit the source code. textfont-to-octo is especially rough. Currently limited to 8x8px or smaller glyphs.

Many improvements could be made: