Skip to content

Support Twemoji-unsupported ZWJ emoji in FirefoxΒ #456

Open
@nolanlawson

Description

@nolanlawson

(Follow-up to #453.)

Firefox is no longer showing "double" emoji, but now it is permanently hiding them, even on OSes where the built-in font (Noto, Apple, Segoe) supports them. E.g. "head shaking horizontally" (πŸ™‚β€β†”οΈ), "head shaking vertically" (πŸ™‚β€β†•οΈ), and "phoenix" (πŸ¦β€πŸ”₯) are removed from the picker:

Screenshot from 2024-09-09 07-48-51

This is better than rendering double emoji, but it's sub-optimal because we could just use the OS font if it has better support:

Screenshot from 2024-09-09 07-49-21

There is a bug on Firefox from 2023 about how their in-browser Twemoji font is out of date (14.1 only, no 15.0 or 15.1).

A few options:

  • Remove Mozilla Twemoji entirely from the font list
  • Reorder it to give preference to fonts that are likely to be more up-to-date (e.g. Noto and Apple, Segoe is more dicey due to Windows 10)
  • Figure out a way to give preference to ZWJ characters to fonts that don't render it as a double character

Current fonts:

export const FONT_FAMILY = '"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",' +
'"Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions