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
|
python -m pip install -r tools/mcuboot/requirements.txt
|
||||||
```
|
```
|
||||||
- A reasonably recent version of CMake (I use 3.16.5)
|
- 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
|
## Build steps
|
||||||
### Clone the repo
|
### Clone the repo
|
||||||
|
|
|
@ -7,12 +7,7 @@
|
||||||
## Generate the fonts:
|
## Generate the fonts:
|
||||||
|
|
||||||
* Make sure you have installed lv_font_conv, and it's in the PATH
|
* Make sure you have installed lv_font_conv, and it's in the PATH
|
||||||
* `npm i lv_font_conv`
|
* See `doc/buildAndProgram.md`
|
||||||
* `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.
|
|
||||||
* run the `generate.py` script, while in the folder.
|
* run the `generate.py` script, while in the folder.
|
||||||
* it has a `-h` flag to show usage, nontheless: `python generate.py fonts.json`
|
* it has a `-h` flag to show usage, nontheless: `python generate.py fonts.json`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue