call add_soft_light_to_flags from colrv1_postproc.py script

pull/377/head
Cosimo Lupo 2022-01-24 18:07:11 +00:00
parent 2188c2d237
commit 5a04ef08ee
1 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,8 @@ from nototools import add_vs_cmap
from nototools import unicode_data from nototools import unicode_data
from pathlib import Path from pathlib import Path
from colrv1_add_soft_light_to_flags import add_soft_light_to_flags
def _is_colrv1(font): def _is_colrv1(font):
return ( return (
@ -193,6 +195,8 @@ def main(argv):
_map_empty_flag_tag_to_black_flag(colr_font) _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() out_file = Path('fonts/Noto-COLRv1-noflags.ttf').absolute()
print("Writing", out_file) print("Writing", out_file)
colr_font.save(out_file) colr_font.save(out_file)