A PC Screen Font (PSF) version 2 parser for Rust.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Martin aa3d7a09ee
Make PSF code from bootproof into an independent library.
2 years ago
.github/workflows Make PSF code from bootproof into an independent library. 2 years ago
src Make PSF code from bootproof into an independent library. 2 years ago
.editorconfig Make PSF code from bootproof into an independent library. 2 years ago
.gitignore Make PSF code from bootproof into an independent library. 2 years ago
Cargo.toml Make PSF code from bootproof into an independent library. 2 years ago
LICENSE.txt Make PSF code from bootproof into an independent library. 2 years ago
README.md Make PSF code from bootproof into an independent library. 2 years ago

README.md

PC Screen Font

A Rust library which can parses PSF version 2 fonts from their bytes. It correctly handles fonts which contain extra pixels in their padding bits.

This library does not depend on the Rust standard library, making it suitable for inclusion in bootloaders or kernels, although it does require a working global allocator.

This library predates the PSF crate. I have not investigated it at all, but you may wish to investigate using it instead before choosing to use this library.

Maintenance status

This library is only passively maintained, receiving updates as I need them. I do not intend to publish this library to crates.io, but I will accept pull requests, and if you wish to publish this library to crates.io and maintain it yourself, you are welcome to do so.

Limitations

Currently, this library does not support multi-codepoint spellings of characters. Support may be added at some point, but I do not currently have any plans to do so.