From cb6ff0fd5afaf97ac8b3cf4e8472776b3a59f4f9 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Sun, 4 Sep 2022 19:52:44 +0200 Subject: [PATCH] query_names: Unify field widths [why] For some fonts with long names the fields are not long enough and for example a 'Mono' can not be seen. [how] Use same field widths as `name_parser_test2`. Signed-off-by: Fini Jastrow --- bin/scripts/name_parser/query_names | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scripts/name_parser/query_names b/bin/scripts/name_parser/query_names index bc51915a9d..c1a273031f 100755 --- a/bin/scripts/name_parser/query_names +++ b/bin/scripts/name_parser/query_names @@ -13,7 +13,7 @@ def get_sfnt_dict(font): def format_names(header, *stuff): """Unify outputs (with header)""" - f = '{:1.1}|{:50.50} |{:1.1}| {:50.50} |{:1.1}| {:30.30} |{:1.1}| {:30.30} |{:1.1}| {:30.30} |{:1.1}| {:.30}' + f = '{:1.1}|{:50.50} |{:1.1}| {:65.65} |{:1.1}| {:55.55} |{:1.1}| {:30.30} |{:1.1}| {:40.40} |{:1.1}| {:.40}' if header: d = '------------------------------------------------------------' return f.format(*stuff) + '\n' + f.format('', d, d, d, d, d, d, d, d, d, d, d)