Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Michael Telatynski
5b5453794f
Merge branch 'develop' into t3chguy/update-twemoji-colr 2024-11-26 14:42:19 +00:00
Michael Telatynski
f2c59cf2f2
Update Twemoji COLRv0
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 13:37:43 +00:00
Michael Telatynski
7f13495b03
Remove unused mock
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 12:57:43 +00:00
Michael Telatynski
aa6a67cd5c
Remove Twemoji SBIX font in favour of COLRv0
as it is supported everywhere we need it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 12:52:21 +00:00
2 changed files with 23 additions and 0 deletions

23
scripts/update-twemoji.sh Executable file
View file

@ -0,0 +1,23 @@
#!/bin/bash
set -ex
tmpdir=$(mktemp -d)
scriptdir=$(dirname "$(realpath "$0")")
git clone --depth 1 https://github.com/win98se/twemoji-colr.git "$tmpdir"
pushd "$tmpdir"
# Install dependencies
npm i
# Build fonts
make
woff2_compress "build/Twemoji Mozilla.ttf"
# Move into the right place
mv "build/Twemoji Mozilla.woff2" "$scriptdir/../res/fonts/Twemoji_Mozilla/TwemojiMozilla-colr.woff2"
# cleanup
popd
rm -Rf "$tmpdir"