Render emoji with Twemoji instead of relying on browser/OS default
Apple Color Emoji isn't legally redistributable via CI, so posters
previewed locally (macOS) and posters built by the CI pipeline (Linux)
could end up showing different emoji glyphs. Twemoji is openly
licensed and now installed explicitly in CI, giving posters a
consistent, deterministic emoji style regardless of where they're
rendered. Noto Color Emoji / Segoe UI Emoji remain as fallbacks.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Change-Id: I471e23d9720372ec459d05eeb98ccb6f97d5e970
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fc45c35..d47a714 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -167,8 +167,9 @@
- google-chrome --version
- end_section testing_chromium
- - start_section install_fonts "Installing Fira and emoji fonts"
+ - start_section install_fonts "Installing Fira, Twemoji and emoji fonts"
- curl -Ls https://github.com/mozilla/Fira/archive/refs/tags/4.202.tar.gz | tar -C /usr/share/fonts -zx --wildcards "*.otf"
+ - curl -Ls https://github.com/13rac1/twemoji-color-font/releases/download/v15.1.0/TwitterColorEmoji-SVGinOT-Linux-15.1.0.tar.gz | tar -C /usr/share/fonts -zx --wildcards "*.ttf"
- apt-get install --no-install-recommends -o dir::cache::archives="$APT_CACHE_DIR" -y fonts-noto-color-emoji fonts-symbola
- fc-cache
- end_section install_fonts