--skip_if_larger does nothing and returns an error if pngquant would generate a larger file than the original. Formerly we would not copy the file in this case so later operations expecting the file would fail. No image triggered this, though, so the issue went unnoticed. We want the smaller of the two files. It's unclear if later compression using optipng would still do better with the larger quantized file vs the original unquantized file, but we need to have a file. |
||
---|---|---|
fonts | ||
images | ||
png/128 | ||
svg | ||
third_party | ||
add_emoji_gsub.py | ||
add_svg_glyphs.py | ||
AUTHORS | ||
check_emoji_sequences.py | ||
collect_emoji_svg.py | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
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 | ||
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.