[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering emojis
From: |
Eli Zaretskii |
Subject: |
Re: Entering emojis |
Date: |
Tue, 26 Oct 2021 19:49:56 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, Gregory Heytings <gregory@heytings.org>,
> Emacs developers <emacs-devel@gnu.org>
> Date: Tue, 26 Oct 2021 18:36:25 +0200
>
> So I'm trying to figure out how this all maps up.
>
> In the labels file, we have (for instance) 👮♂️ (a male police officer).
> I can find that glyph in emoji-zwj-sequences:
>
> 1F46E 200D 2642 FE0F ; man police officer
> # E4.0 [1] (👮♂️)
> 1F46E 1F3FB 200D 2640 FE0F ; woman police officer: light
> skin tone # E4.0 [1] (👮🏻♀️)
> 1F46E 1F3FB 200D 2642 FE0F ; man police officer: light
> skin tone # E4.0 [1] (👮🏻♂️)
> 1F46E 1F3FC 200D 2640 FE0F ; woman police officer:
> medium-light skin tone # E4.0 [1] (👮🏼♀️)
> 1F46E 1F3FC 200D 2642 FE0F ; man police officer:
> medium-light skin tone # E4.0 [1] (👮🏼♂️)
> 1F46E 1F3FD 200D 2640 FE0F ; woman police officer: medium
> skin tone # E4.0 [1] (👮🏽♀️)
>
> etc. But there's no mapping from that glyph to these other ones except
> by ... being in the vicinity... and the "woman" forms aren't variants.
> Hm...
>
> Aha! common/annotationsDerived/en.xml has
>
> <annotation cp="👮🏻♂" type="tts">man police officer: light skin
> tone</annotation>
> <annotation cp="👮🏼♂" type="tts">man police officer:
> medium-light skin tone</annotation>
> <annotation cp="👮🏽♂" type="tts">man police officer: medium
> skin tone</annotation>
>
> So I can find "man police officer" in the sequences file, and then get
> the derivations from that XML file? Geez. Well, that sounds doable,
> and I hope that those names for the glyphs are the same in both files.
> :-/
I don't think I understand the problem. The first 2 codepoints are in
admin/unidata/emoji-sequences.txt, and the gender thingy is what
determines if its "man" or "woman". VS-16 is a no-op, and I'm not
even sure you should produce it in these sequences. It is only needed
when the original character is not an emoji.
- Re: Entering emojis, (continued)
- Re: Entering emojis, Stefan Kangas, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis, Eli Zaretskii, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis,
Eli Zaretskii <=
- Re: Entering emojis, Robert Pluim, 2021/10/26
- Re: Entering emojis, Eli Zaretskii, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis, Eli Zaretskii, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/27
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis, Gregory Heytings, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26
- Re: Entering emojis, Robert Pluim, 2021/10/26
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/26