PNG Font to TTF converter

This tool converts a bitmap font where black pixels are background to a ttf font.

Requirements: python3, Pillow, fontforge

Usage: python png_font_to_ttf.py output.woff input.png char-width char-height

Source code: https://github.com/benob/png_font_to_ttf

Demo: to access non-alphanumeric characters, use entities in the range 0xe000-0xe0ff.

Hello roguelikers
01236!!#

######
#$...#
#..@.#
#]..~#
#+####



Example fonts

(font examples from Rexpaint font page)