joypixels / emojione

[Archived] The world's largest independent emoji font. Maintained at https://github.com/joypixels/emoji-toolkit.
https://www.joypixels.com
Other
4.46k stars 536 forks source link

Contextual glyph replacements – would require some new and some changed graphics #393

Open Crissov opened 7 years ago

Crissov commented 7 years ago

There are some standardized emoji sequences using U+200D Zero-Width Joiner (ZWJ) which shall lead to a new combined glyph – a ligature in families, a new graphic in professions –, but there are also some sequences that are actually used in the wild where either or both of the glyphs should take a special shape. I’m giving but a few examples for now:

Version 3

🚂 U+1F682🚃 U+1F683 🚋 U+1F68B 🚞 U+1F69E 🚅 U+1F685 🚈 U+1F688 🚝 U+1F69D 🚟 U+1F69F 🚄 U+1F684 🚆 U+1F686 🚇 U+1F687 🚊 U+1F68A 🛲 U+1F6F2

Version 2

🚂 U+1F682🚃 U+1F683 🚋 U+1F68B 🚞 U+1F69E 🚅 U+1F685 🚈 U+1F688 🚝 U+1F69D 🚟 U+1F69F 🚄 U+1F684 🚆 U+1F686 🚇 U+1F687 🚊 U+1F68A 🛲 U+1F6F2

If only either the left or the right glyph needs to change, this would use the calt Contextual Alternates feature in Opentype. If they combined into a single glyph, clig Contextual Ligature (or liga). If both (or multiple ones) needed to be substituted, I think it would only work by using a double-wide single glyph.

Other conventional combinations may be based on memes (🐸☕️), multi-part gestures (👉👌) or (English) compound words (🐮💩). Some proposals to Unicode list possible sequences for alternative representations and emojis get rejected because these alternatives are considered good enough for general use, e.g. some popular emoticons from Emoji Request, Skype and Facebook in L2/16-313:

Excerpt from L2/16-314, annotated by me

If you’re interested in this at all, I could provide a larger list (which I’m still in the process of compiling).

luckydonald commented 7 years ago

PDF http://www.unicode.org/L2/L2016/16314-emoji-faces-data.pdf is 404.

Crissov commented 7 years ago

@luckydonald Indeed, there’s a typo in the file name on the server: the i in emoji is missing. I’ve updated the link accordingly.