Skip to content

threez/go-dosfont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.