fontgen: move lv_font_conv doc
This commit is contained in:
parent
ef17f2f981
commit
d967ed7d90
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in a new issue