summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehoshua Pesach Wallach <yehoshuapw@gmail.com>2022-04-24 17:36:11 +0300
committerJF <JF002@users.noreply.github.com>2022-05-10 22:20:02 +0200
commitd967ed7d9087900869c686f07e257c3836178eaf (patch)
tree33ed18ff68b883c5a3fd834c5123eab32d38e432
parentef17f2f9818162bfeae09b979193b1b9f03204d0 (diff)
fontgen: move lv_font_conv doc
-rw-r--r--doc/buildAndProgram.md5
-rw-r--r--src/displayapp/fonts/README.md7
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/buildAndProgram.md b/doc/buildAndProgram.md
index feef9f6d..42c98dfb 100644
--- a/doc/buildAndProgram.md
+++ b/doc/buildAndProgram.md
@@ -12,6 +12,11 @@ To build this project, you'll need:
python -m pip install -r tools/mcuboot/requirements.txt
```
- A reasonably recent version of CMake (I use 3.16.5)
+ - lv_font_conv, to generate the font .c files
+ - see [lv_font_conv](https://github.com/lvgl/lv_font_conv#install-the-script)
+ - install npm (commonly done via the package manager)
+ - install lv_font_conv: `npm i lv_font_conv -g`
+ - if installed non-globally, make sure `lv_font_conv` is in the PATH
## Build steps
### Clone the repo
diff --git a/src/displayapp/fonts/README.md b/src/displayapp/fonts/README.md
index 18fa618e..3b998e22 100644
--- a/src/displayapp/fonts/README.md
+++ b/src/displayapp/fonts/README.md
@@ -7,12 +7,7 @@
## Generate the fonts:
* Make sure you have installed lv_font_conv, and it's in the PATH
- * `npm i lv_font_conv`
- * `export PATH="$PATH:$PWD/node_modules/.bin"`
- * *OR* globally:
- * `npm i -g lv_font_conv`
- * `export PATH="$PATH:$HOME/.local/bin"` (if not already in the path)
- * or in any other path you choose.
+ * See `doc/buildAndProgram.md`
* run the `generate.py` script, while in the folder.
* it has a `-h` flag to show usage, nontheless: `python generate.py fonts.json`