marseymoji/README.md

75 lines
3.1 KiB
Markdown
Raw Normal View History

![Noto](images/noto.png)
# Noto Emoji
2015-08-17 21:53:17 +00:00
Color and Black-and-White Noto emoji fonts, and tools for working with them.
2021-10-07 23:07:05 +00:00
**[Download Emoji Font](https://github.com/googlefonts/noto-emoji/raw/main/fonts/NotoColorEmoji.ttf)**
2020-04-14 14:56:16 +00:00
## Prerequisites
2020-04-14 15:34:35 +00:00
Building Noto Color Emoji requires:
- Python 3
- [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/)
- [pngquant](https://pngquant.org/)
2020-05-30 21:19:49 +00:00
- [zopflipng](https://github.com/google/zopfli)
2020-08-27 21:33:19 +00:00
- [cairo](https://www.cairographics.org/)
- [imagemagick](https://imagemagick.org/)
2020-04-14 14:56:16 +00:00
## Building NotoColorEmoji
2020-05-30 21:19:49 +00:00
This project uses a virtual environment to manage dependencies. Use the following steps to get up and running:
2020-05-30 21:19:49 +00:00
```shell
# make sure you have the Prerequisites
2020-04-10 14:21:37 +00:00
2020-05-30 21:19:49 +00:00
# create & activate a virtual environment
python3 -m venv venv
source venv/bin/activate
2020-04-10 14:21:37 +00:00
2020-05-30 21:19:49 +00:00
# install python requirements
pip install -r requirements.txt
2020-04-10 14:21:37 +00:00
2020-05-30 21:19:49 +00:00
time make -j
```
2020-04-10 14:21:37 +00:00
2020-12-14 10:15:54 +00:00
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.
## Using NotoColorEmoji
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
2020-05-26 17:20:08 +00:00
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](https://github.com/googlei18n/noto-emoji/issues/36). Currently we do not build other color font formats.
## Color emoji assets
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
2017-09-20 18:31:17 +00:00
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.
## License
Emoji fonts (under the fonts subdirectory) are under the
[SIL Open Font License, version 1.1](fonts/LICENSE).<br/>
Tools and most image resources are under the [Apache license, version 2.0](./LICENSE).
Flag images under third_party/region-flags are in the public domain or
otherwise exempt from copyright ([more info](third_party/region-flags/LICENSE)).
## Contributing
2015-08-17 21:53:17 +00:00
Please read [CONTRIBUTING](CONTRIBUTING.md) if you are thinking of contributing to this project.
## News
* 2017-09-13: Emoji redesign released.
* 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.