Skip to content

font converter for Arduino Waveshare e-paper libraries

License

Notifications You must be signed in to change notification settings

ekle/waveshareFontGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waveshareFontGenerator

This tool can convert ttf fonts to a sFont struct needed for waveshare ePaper displays.

This is a prototype but workes fine for me.

As the epaper lib support only non-proportional fonts, finding the correct width can be tricky. You can configure the sizes with command line arguments (go run main.go -h).

GO 1.22 is needed to compile this tool.

Usage example:

go run main.go -f /usr/share/fonts/myfont.ttf > myCustomFont.h

or

go run github.com/ekle/waveshareFontGenerator@master

About

font converter for Arduino Waveshare e-paper libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages