No description
Find a file
2025-12-17 09:18:35 +00:00
extras Zero-Width Combining Enclosing Keycap 2024-04-01 11:56:18 -07:00
overrides Release of Twemoji 16.0 2025-04-14 01:57:28 -07:00
tests Include emoji version in the comparison test output 2019-06-01 14:07:13 +01:00
.gitignore Update .gitignore 2018-03-07 13:08:19 -08:00
CONTRIBUTE.md Update to Twemoji 14.0.1 (Emoji 14.0) 2022-03-31 01:59:06 +08:00
fixDirection.py Update fixDirection.py 2018-03-07 13:08:19 -08:00
Gruntfile.js Revert "Use grunt-webfonts Zero-Width Character Support Fork" 2024-12-30 11:11:32 -08:00
layerize.js Include All Aliases in Font 2024-03-30 00:50:38 -07:00
LICENSE.md Update LICENSE.md 2018-03-07 13:08:19 -08:00
Makefile Add new variable in makefile for temporary font file 2021-07-19 19:15:24 +02:00
package.json Update to Twemoji 17.0 2025-11-17 10:17:33 -08:00
README.md Revert "Use grunt-webfonts Zero-Width Character Support Fork" 2024-12-30 11:11:32 -08:00
twe-svg.zip Update to Twemoji 17.0 2025-11-17 10:17:33 -08:00
twe-svg.zip.version.txt Update to Twemoji 17.0 2025-11-17 10:17:33 -08:00

twemoji-colr

Project to create a COLR/CPAL-based color OpenType font from the Twemoji collection of emoji images.

Note that the resulting font will only be useful on systems that support layered color TrueType fonts; this includes Windows 8.1 and later, as well as Mozilla Firefox and other Gecko-based applications running on any platform.

Systems that do not support such color fonts will show blank glyphs if they try to use this font.

Getting started

This project makes use of grunt-webfonts and an additional node.js script. Therefore, installation of Node.js (and its package manager npm) is a prerequisite. Grunt will be installed as a package dependency — no need to install it globally.

The necessary tools can be installed via npm:

# install dependencies from packages.json, including `grunt-webfonts`.
npm install

The build process also requires fontforge and the TTX script from the font-tools package to be installed, and assumes standard Perl and Python are available.

Both FontForge and font-tools can be installed via homebrew on OS X, or package managers on Linux:

# OS X
brew install fonttools fontforge

# Ubuntu, for example
sudo apt install fonttools fontforge python3-fontforge

Building the font

Once the necessary build tools are all in place, simply running

make

should build the color-emoji font build/Twemoji Mozilla.ttf from the source SVG files found in twe-svg.zip file and extras, overrides directories.