PCH

otf2psf: convert modern OTF/TTF fonts for use on the Linux TTY

2026-06-10

example font generated by otf2psf, from GNU Unifont size 12

otf2psf is a font conversion utility, written in Rust, that converts modern fonts into the PC Screen Font v2 (PSF2) format. This is the native font format of the Linux TTY.

The main Rust tool allows you to examine your OTF/TTF font to determine its suitability for conversion, and to perform the conversion itself. You can adjust the font size, pad characters if your input font isn't quite monospace, and specify a custom character set.

There is also a Python script, generate_charset.py, for easily creating custom character set files.

It is available to download via GitLab!