Closed puzrin closed 5 years ago
It's not clear how to define multiple combinations of fonts + glyphs + remap in CLI.
What about using a JSON config to describe complex arguments? It would allow to easily run the script again later with same config.
What about using a JSON config to describe complex arguments? It would allow to easily run the script again later with same config.
I'd say CLI script without all options support would look a bit "unprofessional" :). I have such ugly CLI wrappers for js-yaml
& markdown-it
, but always say those are for demonstration only and not officially supported.
In other words, JSON config is possible, but i'd like to try something better first.
Okay, you have more experience in this regards. Let's keep the config file as plan B if there won't be a better solution.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale.
Seems found solution for CLI. Updated first pots.
@kisvegabor Could you create repo for font convertor and give me full access there?
@kisvegabor please enable travis-ci for https://github.com/littlevgl/lv_font_converter
@puzrin I just tried to enable it. Did I do it properly?
Not sure https://travis-ci.org/littlevgl/lv_font_converter - no activity
This should be enabled via travis account page https://travis-ci.org/account/repositories. Probably, "owner" permissions required.
@puzrin I had enabled it on https://travis-ci.com before. Now it is enabled on both.
Now works
Dev memo, to remember important parts.
Desired features
lv_i18n
CLI params.
Font params are grouped to current font until new font option found.
Common:
-s
- output font size-o
- output file path-b
,--bpp
- bits per pixel-c
,--compress
- 'auto', compression algorythm (TBD)--format
- output format, useful for debug & experiments (TBD)Fonts:
--font
- local path or URL-r
- rangeTBD