commit | 9e54fdac4229639acb90d6b564db46613a0094e7 | [log] [tgz] |
---|---|---|
author | Konstantin Pozin <kpozin@google.com> | Wed Nov 10 20:35:25 2021 -0800 |
committer | Konstantin Pozin <kpozin@google.com> | Wed Nov 10 20:38:17 2021 -0800 |
tree | 7261b2510f601d55a27aa44e80cf364212e11979 | |
parent | 3a33d7d0c4f1bc1d7b309a3a100c811db78f821f [diff] | |
parent | 9a5261d871451f9b5183c93483cbd68ed916b1e9 [diff] |
Import upstream changes up to 9a5261d871451f9b5183c93483cbd68ed916b1e9 Change-Id: I051c59260c55ce15b931b94d77e4d837dfaab1e2
Color and Black-and-White Noto emoji fonts, and tools for working with them.
Building Noto Color Emoji requires:
This project uses a virtual environment to manage dependencies. Use the following steps to get up and running:
# make sure you have the Prerequisites # create & activate a virtual environment python3 -m venv venv source venv/bin/activate # install python requirements pip install -r requirements.txt time make -j
Intermediate products (compressed image files, for example) will be put into a build subdirectory. Two fonts will be saved at the top level:
NotoColorEmoji.ttf
, for general use.NotoColorEmoji_WindowsCompatible.ttf
, which is the same font but with an additional empty glyf
table and cmap
format 4 subtable. This is required by Windows 10 if you want to install the font.NotoColorEmoji uses the CBDT/CBLC color font format, which is supported by Android and Chrome/Chromium OS. Windows supports it starting with Windows 10 Anniversary Update in Chrome and Edge. On macOS, only Chrome supports it, while on Linux it will support it with some fontconfig tweaking, see issue #36. Currently we do not build other color font formats.
The assets provided in the repo are all those used to build the NotoColorEmoji font. Note however that NotoColorEmoji often uses the same assets to represent different character sequences-- notably, most gender-neutral characters or sequences are represented using assets named after one of the gendered sequences. This means that some sequences appear to be missing. Definitions of the aliasing used appear in the emoji_aliases.txt file.
Also note that the images in the font might differ from the original assets. In particular the flag images in the font are PNG images to which transforms have been applied to standardize the size and generate the wave and border shadow. We do not have SVG versions that reflect these transforms.
The black-and-white emoji font is not under active development. Its repertoire of emoji is now several years old, and the design does not reflect the current color emoji design. Currently we have no plans to update this font.
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).
Please read CONTRIBUTING if you are thinking of contributing to this project.