forked from googlefonts/noto-emoji
-
Notifications
You must be signed in to change notification settings - Fork 25
Build instructions
Constantin A edited this page Feb 24, 2018
·
10 revisions
First of all, in most cases you don't need to build the font from scratch. There is always a ttf
-file ready at fonts
. But if you think you need to build the font, here is a quick instruction (I know that the original repository includes some instructions but I had a little trouble with them myself):
- At the moment Python 2.7 is required
- As the image files provided need to be compressed, either
zopflipng
oroptipng
is required.
On Fedora bothzopflipng
andoptipng
is available. You can install it withsudo dnf install zopflipng
(oroptipng
).
On Ubuntu onlyoptipng
seems to be working (at least I didn't findzopflipng
when using Ubuntu 16.04 running in Windows 10). You can install it withsudo apt install optipng
. - Another package you'll need is
cairo
. - You'll need
fonttools
andnototools
. At least on Ubuntu installingfonttools
withapt
didn't work for me. I recommend installing it withpip
. - When everything is ready, try running
make -j
(inside the root folder of this repository). Note that this has little to no output - Once the build process is finished (it might take some minutes to build the font), there should be a file called
NotoColorEmoji.ttf
. This is the font you just created 😁