Go to file
Moonchild 06de0e7440
Revert "Add Mozilla Code of Conduct file"
We are not subject to Mozilla's policies.

This reverts commit d6df6bfa4a.
2021-03-13 20:23:29 +01:00
extras Delete 1f3ff.svg 2018-03-07 13:08:19 -08:00
overrides Add an override for the UN flag 1f1fa-1f1f3. 2019-03-28 19:58:37 +00: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 contribution instructions to account for upstream's directory layout 2019-10-06 10:43:43 +01:00
Gruntfile.js Fix duplicate version name 2018-03-29 09:32:04 -05:00
LICENSE.md Update LICENSE.md 2018-03-07 13:08:19 -08:00
Makefile Makefile changes to build Twemoji Mozilla 2018-03-07 13:13:04 -08:00
README.md Add python-fontforge to the Ubuntu install example. 2018-06-20 21:51:09 +01:00
fixDirection.py Update fixDirection.py 2018-03-07 13:08:19 -08:00
layerize.js Merge pull request #37 from KwanEsq/v11 2019-04-17 09:23:50 +01:00
package.json Bump version to 0.5.1 2020-04-29 15:39:30 +01:00
twe-svg.zip Update to Twemoji 12.1.6 2020-04-28 22:53:14 +01:00
twe-svg.zip.version.txt Update to Twemoji 12.1.6 2020-04-28 22:53:14 +01:00

README.md

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-webfont 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-webfont`.
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-get install fonttools fontforge python-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.