mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-14 18:47:58 +00:00
call add_soft_light_to_flags from colrv1_postproc.py script
This commit is contained in:
parent
2188c2d237
commit
5a04ef08ee
1 changed files with 5 additions and 1 deletions
|
@ -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,10 +195,12 @@ 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)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(main)
|
app.run(main)
|
||||||
|
|
Loading…
Add table
Reference in a new issue