Note that `:heart:` :heart: renders natively as a small black icon on many 
systems (I think its a separate set of glyphs that predates emoji usage).  Some 
systems (older Mac OS) will render it as red if the appropriate variation code 
is included too ❤️  But the "emoji" lib doesn't do that, so it'd require some 
special coding (and broad testing)


---

** [tickets:#8252] Only use twemoji when needed**

**Status:** open
**Milestone:** unreleased
**Labels:** emoji 
**Created:** Mon Oct 22, 2018 09:35 PM UTC by Dave Brondsema
**Last Updated:** Mon Nov 05, 2018 08:33 PM UTC
**Owner:** nobody


Lots of emoji are already supported in many browsers.  I think it'd be nice to 
use native emoji when possible and only twemoji if needed.  However, that may 
mean sometimes things are shown native and sometimes they are twemoji images, 
so that inconsistency might not be good either.

I found https://github.com/pento/x1f4a9/issues/4 as an example of detecting if 
certain emoji are supported natively.  I don't see a built-in twemoji option 
for it.  One tricky part would be figuring out what emoji to detect.  Different 
browsers & OS have different levels of emoji support.  For example, simple 
emoji like smile are probably supported, but newer emoji are not.  So I'm not 
sure how to practically if a check should look for support of "all" emoji or 
just certain ones, or different levels, etc.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to