Convert gbdfed's "hex" output to a VGA/console font
Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
compile.sh
hex2vga

README.md

hex2vga

This Ruby script writes a VGA/EGA ("console") font file to stdout, based on a "hex" file as exported by gbdfed(1). I made this because I wanted wscons(4) to load Christian Neukirchen's super awesome "sq" font.

hex2vga infile input-height output-height > outfile

For example:

./hex2vga /path/to/sq.hex 13 16 > sq.816

To the maximum extent possible, I (Christian Koch) disclaim ownership of this code and dedicate it to the public domain.