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
I would like to know what the recommended way of having openmoji as the main emoji font, while using a different font for regular alphanumeric characters. I have a chat app that gets user input, so it's impossible to know ahead of time where the emojis will be, so I can't wrap them in a span to give them their own styling.
Currently, I load the font with a liimted unicode range, which mostly works, but might become a little cumbersome to maintain:
This doesn't actually cover every emoji, but I'd suggest using the two simple ranges U+2600-27FF and U+1F170-1FAFF.
P.S. : Of course, you'll want U+200D for ZWJ sequences and U+FE0F to force pictographs where applicable (I don't know which effect adding FE0E has, fixing or breaking non-pictographic support, but it's extremely rare to run into anyway) but those should be pretty self-evident if you know the basics.
Hello,
I would like to know what the recommended way of having openmoji as the main emoji font, while using a different font for regular alphanumeric characters. I have a chat app that gets user input, so it's impossible to know ahead of time where the emojis will be, so I can't wrap them in a span to give them their own styling.
Currently, I load the font with a liimted unicode range, which mostly works, but might become a little cumbersome to maintain:
Is there an alternative that someone can suggest? Or maybe have a full unicode range/list that is supported which could be added to a css like this?
The text was updated successfully, but these errors were encountered: