Credit: Original guide posted by RKBDI on Telegram: t.me/rkbdiemoji/379
sudo apt update
sudo apt install python3 pkg-config pngquant zopfli libcairo2-dev imagemagick python3-venv gcc makebrew install python3 pkg-config pngquant zopfli cairo imagemagick gccRun inside the repo folder:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt- Add PNGs: Add new emojis to the
png/128folder.- Note: Modifying other resolution folders does not do anything at all.
- Modify SVGs: You can only replace existing files in the
svgfolder.
Takes 5m – 2h depending on CPU
time make -j BYPASS_SEQUENCE_CHECK='True'
# Move output
mv *.ttf fonts/(cd colrv1 && rm -rf build/ && time nanoemoji *.toml)
# Copy output
cp colrv1/build/NotoColorEmoji.ttf fonts/Noto-COLRv1.ttf
cp colrv1/build/NotoColorEmoji-noflags.ttf fonts/Noto-COLRv1-noflags.ttfpython colrv1_postproc.pyFind your fonts in the fonts/ folder.
- Troubleshooting: If build fails, check logs for corrupt emojis in
png/orbuild/compressed_pngsand remove them.
