call add_soft_light_to_flags from colrv1_postproc.py script
parent
2188c2d237
commit
5a04ef08ee
|
@ -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)
|
||||
app.run(main)
|
||||
|
|
Loading…
Reference in New Issue