diff --git a/fonts/README.md b/fonts/README.md index 68f5422..e44c0a6 100644 --- a/fonts/README.md +++ b/fonts/README.md @@ -1,3 +1,14 @@ # Fonts -`inter_20.bin`: 20px 4 bpp font \ No newline at end of file +Generated with https://lvgl.io/tools/fontconverter + +`inter_20.bin`: 20px 4 bpp font + +Adding a custom font to the binary: + +highlevel +- Create `lv_font_my_26.c` using tool above +- add font to lvgl/src/font +- update lvgl.h with `#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(lv_font_my_26)` +- Build and import using `lv.font_my_26` +