aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/fonts/generate.py
Commit message (Collapse)AuthorAgeFilesLines
* fonts: Make patching silentFinlay Davidson2023-04-161-1/+1
| | | | The generate script should only output anything if there are errors.
* Font generation: Fix patch binary pathChristoph Honal2022-06-251-1/+1
|
* Fix various typosluz paz2022-06-051-1/+1
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* fonts: gen.py: clearify missing exe messageReinhold Gschweicher2022-05-161-1/+1
|
* generalize lv-font creationReinhold Gschweicher2022-05-161-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font generation capabilites were added. Generalize the font creation to make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file for `InfiniSim` and just add the new cmake file to the project and link against the new `infinitime_fonts` target. In the following a list of changes. Allow non-global installed `lv_font_conv` executable installed with ```sh npm install lv_font_conv@1.5.2 ``` In CMake we search for `lv_font_conv` executable. Add the found executable to the python script `generate.py`, to remove the need for `lv_font_conv` to be in the path. Search for `python3` executable, if CMake version 3.12 is available. Otherwise use `python` as hard coded executable. Instead of adding the generated fonts to `SOURCE_FILES` variable, create a static library `infinitime_fonts`. Link this library to the executables instead. Use `add_custom_target()` together with `add_custom_command()` to generate the font.c files once (like the original PR does).
* fontgen: remove advanced (format string, process as list) from patchingYehoshua Pesach Wallach2022-05-101-12/+1
|
* fontgen: assume plain .patch for single string patchYehoshua Pesach Wallach2022-05-101-4/+11
|
* fotngen: check for lv_font_convYehoshua Pesach Wallach2022-05-101-0/+3
|
* fontgen: remove "feature" featureYehoshua Pesach Wallach2022-05-101-5/+0
|
* fontgen: generate font .c files in build dirYehoshua Pesach Wallach2022-05-101-0/+2
|
* fontgen: simplfy json after removed external features keyYehoshua Pesach Wallach2022-05-101-12/+16
|
* fontgen: minor changesYehoshua Pesach Wallach2022-05-101-2/+2
|
* fontgen: remove .c from requested font if thereYehoshua Pesach Wallach2022-05-101-2/+5
|
* fontgen: simplify enabled fontsYehoshua Pesach Wallach2022-05-101-7/+6
|
* fontgen: removed ability of removing .c extYehoshua Pesach Wallach2022-05-101-8/+0
|
* fontgen: move features into fontsYehoshua Pesach Wallach2022-05-101-10/+4
| | | | | | Also, removed feature existance cheking (since it now depends on a font, so may end up being inside (only) a font not being used currently - which is an allowed usage)
* fontgen: added missing requested font checkYehoshua Pesach Wallach2022-05-101-0/+6
|
* fontgen: Added ability to choose fonts with .cYehoshua Pesach Wallach2022-05-101-1/+11
|
* Added font auto-generate scriptYehoshua Pesach Wallach2022-05-101-0/+70