From 9d3671561f277a6f8493c59a0ab2d16ba2de429b Mon Sep 17 00:00:00 2001 From: Yehoshua Pesach Wallach Date: Tue, 19 Apr 2022 19:51:29 +0300 Subject: [PATCH] fontgen: minor changes --- src/displayapp/fonts/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/displayapp/fonts/generate.py diff --git a/src/displayapp/fonts/generate.py b/src/displayapp/fonts/generate.py old mode 100644 new mode 100755 index a6853696..7c9c81af --- a/src/displayapp/fonts/generate.py +++ b/src/displayapp/fonts/generate.py @@ -29,9 +29,9 @@ def gen_lvconv_line(dest: str, size: int, bpp: int, fonts: typing.List[FontArg], return args def main(): - ap = argparse.ArgumentParser(description='auto generate lvGL font files from fonts') + ap = argparse.ArgumentParser(description='auto generate LVGL font files from fonts') ap.add_argument('config', type=str, help='config file to use') - ap.add_argument('-e', '--enable', type=str, action='append', help='optional feature to enable in font generation', default=[], metavar='features', dest='features') + ap.add_argument('-e', '--enable', type=str, action='append', help='optional feature to enable in font generation', default=[], metavar='FEATURE', dest='features') ap.add_argument('-f', '--font', type=str, action='append', help='Choose specific fonts to generate (default: all)', default=[]) args = ap.parse_args()