samuelngs / apple-emoji-linux

Brings Apple's vibrant emojis to your Linux experience
Apache License 2.0
776 stars 55 forks source link

Having trouble understanding how to update PNGs #46

Closed zelodev closed 1 month ago

zelodev commented 6 months ago

I can't seem to fully understand the naming conventions used by noto-emoji, and similarly by this project. I have an opentype color font using CBDT & SVG, and I can extract SVGs and PNGs just fine. How do you usually sort the naming, is there maybe an easier solution to extract? (Currently using FontLab 8). Is there maybe a script I've missed? My goal is to compile color emojis into a font that uses a COLR table. Thanks.

dmlls commented 5 months ago

Hi @zelodev, sorry for the late reply.

Emoji generally follow the naming: emoji_u + codepoints.

Important note: the variation selector U+FE0F is always removed.

So for example, the Head Shaking Vertically emoji has the codepoints "U+1F642 U+200D U+2195 U+FE0F". We discard the U+FE0F codepoint, and include the rest of the codepoints without the "U+", resulting in emoji_u1f642_200d_2195.

Here go some other examples, so you have more context:

Hope that helps!