Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.03 KB

go-dosfont

Implementation of the PSF/MZ font file format. With this library you can use the old dos bitmap fonts in go.

Example

fonts, err := OpenFonts("fonts/NEW1252.FON")

// use font face fonts[i].Face
// of type golang.org/x/image/font/basicfont.Face

Rendering

fonts/NEW1252.FON.png

TODO

  • Implementation of the PE format

Resources

Other resources for implementing the font lib.

Implementations / Documentation

Test fonts

The fonts used for testing are sourced from https://www.uwe-sieber.de/dosfon.html. Thanks for your free font Uwe Sieber.