#font #bitmap-font #tty #psf #bitmap #psf2

no-std psf-rs

A super simple no_std psf2 parser for rust

12 stable releases

2.2.0 Dec 20, 2023
2.1.4 Nov 18, 2023
1.1.0 Oct 29, 2023

#1422 in Parser implementations

MIT license

11KB
156 lines

psf-rs

A super simple rust no std psf2 parser that only uses the stack.

Install with cargo add psf-rs


lib.rs:

A super simple no std psf2 parser for rust.

The psfu format is what's used in the linux tty. You can find the built in psf2 fonts in /usr/share/kbd/consolefonts.

This doesn't support the original psf.

Dependencies

~1.5MB
~23K SLoC