Font generation

Additional Fonts can be generated with the tool available on github:

https://github.com/lvgl/lv_font_conv/

The tool runs on linux. If you do not have a linux machine, you can use WSL: https://ubuntu.com/wsl

You will also need NodeJs installed on linux:

https://github.com/nodesource/distributions/blob/master/README.md

Here is an example command that has been used to generate the bin file used in the ZSOM GUI example:

lv_font_conv --font /home/someuser/Shardee.ttf -r 0x20-0x7F --size 26 --format bin --bpp 4 -o /home/someuser/Shardee.bin
  • Last modified: 8 months ago