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.

_images/c64_cowsay.png

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
_images/sharpmz_normal.png

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
_images/sharpmz_primary.png _images/sharpmz_boot.png

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.

images/mz_normal.png

If the default subcommand was used to create the font, the output should look as follows.

images/default_test.png