* makefont.lua generates incorrect PSF fonts. There can be multiple characters mapped to a single glyph, but the mappings should be separated by FE bytes. * font.c should accept only single character mappings -- not combining sequences. The bundled fonts have no combining sequences, but I am exploring other options that provide more Unicode coverate.
The script makefont.lua converts the Terminus fonts from the BDF sources to PSF version 2 for use by the MS-DOS NetHack. The directory sys/msdos/fonts receives the converted fonts. makefont.lua is specifically meant for use with NetHack; it rearranges the input glyphs so the first 256 positions conform to IBM437. The fonts can then support IBMGraphics without using the Unicode table.