This is a rewrite of add_glyphs in third_party/color_emoji. The primary motivation was to move special aliasing rules out of that code and use an external aliases file instead. This new version is a bit more thorough about aliasing, and hopefully a little easier to read. The new add_glyphs takes its parameters using keywords, so the invocation in the Makefile changed (as well as the path to the tool). emoji_aliases.txt was extended to add the flag aliases that were formerly defined in the old add_glyphs code. add_aliases was modified so the name of the alias file could be passed in as a parameter to the main utility function that reads the alias mapping from the file. The new code expects all glyphs used by the template GSUB tables to be named in the GlyphOrder table, but doesn't require the cmap and hmtx table to be fleshed out. The new code fleshes these out when it processes the sequences to add. As a result the cmap and hmtx tables in the template were truncated. The new code also sorts the GlyphOrder table when it extends/rebuilds it. |
||
---|---|---|
fonts | ||
images | ||
png/128 | ||
svg | ||
third_party | ||
add_aliases.py | ||
add_emoji_gsub.py | ||
add_glyphs.py | ||
add_svg_glyphs.py | ||
AUTHORS | ||
check_emoji_sequences.py | ||
collect_emoji_svg.py | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
emoji_aliases.txt | ||
flag_glyph_name.py | ||
flag_info.py | ||
generate_emoji_html.py | ||
generate_emoji_placeholders.py | ||
generate_test_html.py | ||
LICENSE | ||
Makefile | ||
map_pua_emoji.py | ||
materialize_emoji_images.py | ||
NotoColorEmoji.tmpl.ttx.tmpl | ||
NotoColorEmojiSvg.tmpl.ttx | ||
README.md | ||
strip_vs_from_filenames.py | ||
svg_builder.py | ||
svg_cleaner.py | ||
waveflag.c |
Noto Emoji
Color and Black-and-White Noto emoji fonts, and tools for working with them.
The color version must be built from source.
Building NotoColorEmoji
Building NotoColorEmoji requires a few files from nototools. Clone a copy from https://github.com/googlei18n/nototools and either put it in your PYTHONPATH or use 'python setup.py develop' ('install' currently won't fully install all the data used by nototools). You will also need fontTools, get it from https://github.com/behdad/fonttools.git.
Then run make. NotoColorEmoji is the default target. It's suggested to use -j, especially if you are using zopflipng for compression. Intermediate products (compressed image files, for example) will be put into a build subdirectory; the font will be at the top level.
License
Emoji fonts (under the fonts subdirectory) are under the
SIL Open Font License, version 1.1.
Tools and most image resources are under the Apache license, version 2.0.
Flag images under third_party/region-flags are in the public domain or
otherwise exempt from copyright (more info).
Contributing
Please read CONTRIBUTING if you are thinking of contributing to this project.
News
- 2015-12-09: Unicode 7 and 8 emoji image data (.png format) added.
- 2015-09-29: All Noto fonts now licensed under the SIL Open Font License.