From 5a04ef08ee2acd96d517db782611ef8c27f80ca3 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 24 Jan 2022 18:07:11 +0000 Subject: [PATCH] call add_soft_light_to_flags from colrv1_postproc.py script --- colrv1_postproc.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/colrv1_postproc.py b/colrv1_postproc.py index feaeebfe4..95060a827 100644 --- a/colrv1_postproc.py +++ b/colrv1_postproc.py @@ -13,6 +13,8 @@ from nototools import add_vs_cmap from nototools import unicode_data from pathlib import Path +from colrv1_add_soft_light_to_flags import add_soft_light_to_flags + def _is_colrv1(font): return ( @@ -193,10 +195,12 @@ def main(argv): _map_empty_flag_tag_to_black_flag(colr_font) + add_soft_light_to_flags(colr_font) + out_file = Path('fonts/Noto-COLRv1-noflags.ttf').absolute() print("Writing", out_file) colr_font.save(out_file) if __name__ == "__main__": - app.run(main) \ No newline at end of file + app.run(main)