Usage
Note
This page is outdated.
This program uses the Sharp MZ character and monitor ROMs for the display character sets and the interchange character set respectively.
rom2ttf
The rom2ttf subcommand creates a font that contains three character sets in the
UTF-8 Private Use Area. The interchange character set is stored at 0xe000, the
primary display character set is stored ad 0xe100 and the alternate display
character set is stored ad 0xe200. The default font is left unchanged.
retrofont rom2ttf mz700fon.int 1z-013a.rom ~/.local/share/fonts/SharpMZ.ttf
fc-cache -f
Open a new terminal that uses the Sharp MZ font.
foot -f SharpMZ
The -p flag additionally changes the primary font, uses square characters
and removes line spacing.
retrofont rom2fft mz700fon.int 1z-013a.rom ~/.local/share/fonts/SharpMZD.ttf
fc-cache -f
Open a new terminal that uses the Sharp MZ default font.
foot -f SharpMZ_P
show
The show subcommand shows all three character sets.
retrofont show
If the rom2ttf subcommand was used to create the font, the output should look as
follows.
If the default subcommand was used to create the font, the output should look
as follows.