googlefonts / noto-emoji

Noto Emoji fonts
SIL Open Font License 1.1
3.74k stars 451 forks source link

colrv1/config.toml contain hard-coded list of .svgs; should be kept in sync with actual sources #397

Closed anthrotype closed 2 years ago

anthrotype commented 2 years ago

in https://github.com/googlefonts/noto-emoji/pull/389#discussion_r926410016, I suggested that

maybe we should have a script similar to the one we added in https://github.com/googlefonts/color-fonts/blob/main/generate_config.py that regenerates the toml configs' based on the svg sources present in the noto-emoji/svg directory (or taken from the noto-emoji's Makefile) so there's only one source of truth as regards the list of sources. Say someone adds new emojis later, we may forget to update these lists in the all/noflags.toml and the font will miss some glyphs.