arduino:custom_fonts_for_ucglib
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:custom_fonts_for_ucglib [2018/11/15 16:59] – created mithat | arduino:custom_fonts_for_ucglib [2018/11/15 17:33] – [Requirements] mithat | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Requirements ===== | ===== Requirements ===== | ||
Ucglib uses [[https:// | Ucglib uses [[https:// | ||
- | * OTF (or TTF?) files of the fonts you want to convert. //Check licenses!// | + | * OTF and/or TTF files of the fonts you want to convert. //Check licenses!// |
* A way to convert these to BDF format: '' | * A way to convert these to BDF format: '' | ||
* A way to convert BDF files to the C structures used in Ucglib: '' | * A way to convert BDF files to the C structures used in Ucglib: '' | ||
Line 17: | Line 17: | ||
</ | </ | ||
- | This will build a '' | + | This will build a '' |
===== The process ===== | ===== The process ===== | ||
- | ==== Convert OTF (and TTF?) to BDF ==== | + | ==== Convert OTF or TTF to BDF ==== |
Using '' | Using '' | ||
Line 36: | Line 36: | ||
< | < | ||
- | $ /path/to/bdfconv -v -b 2 -f 0 -n fontname -d image.tga -o filename.c filename.bdf | + | $ bdfconv -v -b 2 -f 0 -n fontname -d image.tga -o filename.c filename.bdf |
</ | </ | ||
arduino/custom_fonts_for_ucglib.txt · Last modified: 2021/02/04 02:08 by mithat