You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement proposal: render emoji newer than Twemoji (Emoji 18 Lighthouse shows as a box) #108
Background
I wanted to use the new Lighthouse emoji in my bot's display name. It's part of Emoji 18, approved by Unicode this year, so it's a valid emoji now, but Vector can't show it: it renders as an empty box w/ a hex code. Screenshot attached (Windows browser).
Why it happens
Vector renders emoji as Twemoji images pinned to jdecked/twemoji@17.0.2 (src/js/twemoji.min.js), and src/js/emoji.js + the picker sprite sheets are generated from that set. Anything newer than Emoji 17 has no Twemoji image, so it falls thru to the OS font, which on most systems doesn't have Emoji 18 glyphs yet either.
Twemoji is simply slow to update. Latest release tags RN:
Twemoji (jdecked): v17.0.3, no Emoji 18
OpenMoji: 17.0.0, no Emoji 18
Noto Emoji (googlefonts/noto-emoji): v2026-09-24-unicode18_0, Emoji 18 since Sep 24
Proposal
Short term: once jdecked tags a Twemoji 18 release, bump the pin & rerun scripts/build-emoji.mjs and scripts/build-twemoji-sheets.mjs.
Long term: keep Twemoji as the main set, but when Twemoji has no image for a codepoint, fall back to Noto Emoji's per emoji PNG/SVG assets. Same image pipeline Vector already uses, no bundled font, no Chromium vs WebKit color font differences.
And yes, I know: Google & a privacy messenger don't mix. But this is just Apache 2.0 licensed image files. Vector can bundle them or serve them thru the same jsDelivr CDN it already uses for Twemoji, so no request ever touches a Google server & nothing phones home. We'd only be borrowing their speed: Google ships new emoji the day Unicode approves them.
IMO 2 is the real fix b/c it covers every future case like this, not just the Lighthouse. Each Unicode release adds new emoji, and RN every one of them is unusable in Vector until Twemoji ships it and Vector bumps its pin. W/ a Noto fallback, new emoji work in Vector w/in days of approval.
Activity