Skip to content

[css-fonts] Drop the emoji font-family #9359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
frivoal opened this issue Sep 14, 2023 · 11 comments
Closed

[css-fonts] Drop the emoji font-family #9359

frivoal opened this issue Sep 14, 2023 · 11 comments

Comments

@frivoal
Copy link
Collaborator

frivoal commented Sep 14, 2023

I may be missing something, but I think the emoji font family serves no useful purpose, and does not have well defined behavior, so we should drop it.

The only thing I think it could reasonably be used for is better served by the font-variant-emoji property: for the few characters that can ambiguously have an emoji rendering, or a symbol rendering, this lets you pick how they are rendered.

Other than this choice of variant, which is better defined in and better suited to font-variant-emoji property, it seems to me that an emoji font-family doesn't make sense.

Am I missing something? If no, we should drop that family.

cc @svgeesus

@frivoal frivoal added the css-fonts-4 Current Work label Sep 14, 2023
@frivoal frivoal changed the title [css-font] Drop the emoji font-family [css-fonts] Drop the emoji font-family Sep 14, 2023
@frivoal
Copy link
Collaborator Author

frivoal commented Sep 14, 2023

As far as I can tell, this was introduced in response to https://lists.w3.org/Archives/Public/www-style/2014Aug/0323.html, which seems to confirm that the motivation was indeed the same problem that is now better solved with font-variant-emoji.

@svgeesus
Copy link
Contributor

Precisely:

Specifying the 'emoji' value in a fontlist would prioritize the use of color
glyphs for all codepoints covered by the emoji font.

So yes, it might have been an okay idea in 2014 but is entirely redundant now.

@svgeesus
Copy link
Contributor

Indeed, the discussion that led to font-variant-emoji started that same day.

@svgeesus
Copy link
Contributor

@jfkthame @emilio thoughts on this?

@svgeesus
Copy link
Contributor

Ping @jfkthame @emilio @drott

If we can get a general sense they I can draft a proposed resolution to make the agenda item quicker (or even as an offline resolution).

@drott
Copy link
Collaborator

drott commented Oct 25, 2023

I am in favor of removing it and agree with @frivoal's comment above.

@svgeesus
Copy link
Contributor

svgeesus commented Oct 25, 2023

Proposed async resolution: Remove the emoji font family from CSS Fonts 4

@svgeesus svgeesus added Async Resolution: Proposed Candidate for auto-resolve with stated time limit and removed Agenda+ labels Oct 25, 2023
@astearns
Copy link
Member

The CSSWG will automatically accept this resolution one week from now if no objections are raised here. Anyone can add an emoji to this comment to express support. If you do not support this resolution, please add a new comment.

Proposed Resolution: Remove the emoji font family from CSS Fonts 4

@astearns astearns added Async Resolution: Call For Consensus Resolution will be called after time limit expires and removed Async Resolution: Proposed Candidate for auto-resolve with stated time limit labels Oct 31, 2023
@astearns
Copy link
Member

astearns commented Nov 7, 2023

RESOLVED: Remove the emoji font family from CSS Fonts 4

@o-t-w
Copy link

o-t-w commented Apr 24, 2024

Sorry to comment on a closed issue, but I am under the impression that font-variant-emoji alone may not always be enough to render an emoji, at least in Chrome. If you want regular text characters to be rendered using system-ui on Mac, for example, but want to include some colorful emoji, because SF Pro includes a black heart glyph, that will be used instead of the system emoji font. To quote someone more knowledgable than I am "Font fallback logic in text engines is not necessarily going to have special-case logic for variation sequences". https://fullystacked.net/using-emoji-on-the-web/ https://codepen.io/cssgrid/pen/yLrZqGz

UPDATE: apparently Chromium is working on fixing the issue I mentioned so that font-variant-emoji should be enough by itself.

@css-meeting-bot
Copy link
Member

The CSS Working Group just discussed [css-fonts] Drop the emoji font-family.

The full IRC log of that discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants