Reputation: 46353
I have a text-only comment textbox (users can submit comments), and UTF8 emojis are accepted, such as "Hello 😂".
This is finally displayed in a <div class="comment">
, that already uses a Google Font (Barlow Semi Condensed).
How to make that the rendering of this emoji is consistent across the different browsers?
For example, 😂 (codepoint U+1F602) does not appear in color in Chrome for Windows (at least on certain versions), but only in black and white, whereas, it appears in yellow and blue colors in Firefox.
I thought that using font-awesome
would allow this, but instead font-awesome
requires that we use <i class="..."></i>
instead which is not possible since users will submit ordinary text, containg UTF8 emojis.
Upvotes: 0
Views: 1231
Reputation: 6174
This is impossible for various reasons:
It's as impossible as expecting a user to have installed the fonts of interest and also in the minimal version of interest: having Tahoma is one question, but having version 5.22 or 7.00 of it is yet another.
Upvotes: 1