Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tchapi/adafruit-gfx-font-customiser

A little utility to customise pixel fonts for the Adafruit GFX library
https://github.com/tchapi/adafruit-gfx-font-customiser

adafruit arduino fonts gfx

Last synced: 38 minutes ago
JSON representation

A little utility to customise pixel fonts for the Adafruit GFX library

Awesome Lists containing this project

README

        

Adafruit GFX Pixel font customiser
---

This is a handy utility that goes well with the original [fontconvert](https://github.com/adafruit/Adafruit-GFX-Library/tree/master/fontconvert) tool provided by [Adafruit](https://www.adafruit.com/) for converting TTF fonts to Adafruit_GFX `.h` format.

Just paste the content of a `.h` font file, extract the glyphs, and you can edit them one by one by flipping the individual pixels for each glyphs, changing the advance, offset, or modifying the baseline.

You can then process our changes and create the improved file.

This is useful since the fontconvert utility does not always create all the characters correctly (a missing pixel here and there). It works best for small size fonts (< 12pt).

## Contributors

[Chris Marrin](https://github.com/cmarrin) — added baseline, advance and offset support.

[thelevelofdetail](https://github.com/thelevelofdetail) — fixes for negative xOffsets

[Billy Donahue](https://github.com/BillyDonahue) — fixes for xadvance clipping when using _oblique_ fonts

[Mats Engstrom](https://github.com/SmallRoomLabs) — fixes to allow generating a range of glyphs

[Christof Arnosti](https://github.com/charno) — fixes to allow adding characters, improvements for disabled characters

[Marcel Robitaille](https://github.com/MarcelRobitaille) — feature to allow the conservation of font preamble

## License

MIT. See licence file.