rossmacarthur / emojis

✨ Lookup emoji in O(1) time, access metadata and GitHub shortcodes, iterate over all emoji
Apache License 2.0
55 stars 7 forks source link

Valid emoji isn't in the unicode map #14

Closed Jasperav closed 11 months ago

Jasperav commented 1 year ago

👪🏻 this is a family, it isn't in the map (emojis::get). Maybe more emojis are not in the map which are valid emojis.

rossmacarthur commented 12 months ago

The emoji you have here is not a valid emoji. "\u{1f46a}\u{1f3fb}" (👪🏻) isn't in the Unicode emoji test list which is what this crate uses as the source of truth. This appears to be a family "\u{1f46a}" (👪) followed by a light skin tone char "\u{1f3fb}" ( 🏻). In my font this doesn't render as a light skin tone but instead as just the neutral 👪. Additionally, since it is not a valid emoji the way it is rendered seems to differ in apps/fonts, for example:

image

It might be possible to make this crate handle this, but I would like to know what is the source of this emoji?

Jasperav commented 11 months ago

@rossmacarthur You are right, I don't believe this is a valid emoji. I don't know anymore where I got the emoji from, so I close this issue.