emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Better emoji support


From: Robert Pluim
Subject: Re: Better emoji support
Date: Sun, 19 Sep 2021 20:10:22 +0200

>>>>> On Sun, 19 Sep 2021 20:24:53 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Juri Linkov <juri@linkov.net>
    >> Cc: Jean-Christophe Helary <lists@traduction-libre.org>,  Eli Zaretskii
    >> <eliz@gnu.org>,  emacs-devel@gnu.org
    >> Date: Sun, 19 Sep 2021 19:09:24 +0300
    >> 
    >> Thanks, this is a nice change.  I have a problem only with one character.
    >> Displaying NORTH EAST ARROW ↗ with emoji font is inappropriate to me.

    Eli> Hmm...  Robert, I see quite a few characters that now belong to the
    Eli> emoji script, which shouldn't be there, AFAIU.  The above is one of
    Eli> them (AFAIK, the Arrows block doesn't belong to Emoji).  But there are
    Eli> more stark cases, for example:

The whole block might not, but some of the codepoints do:

2194..2199    ; Emoji                # E0.6   [6] (↔️..↙️)    left-right 
arrow..down-left arrow

    Eli>   (aref char-script-table ?#) => emoji
    Eli>   (aref char-script-table ?0) => emoji

I donʼt see that here (and itʼs definitely not the
intention). Blocks.awk skips any ASCII codepoints (and those both
evaluate to "latin" here). Could you double-check your
lisp/international/charscript.el?

    Eli> This is definitely not what we want.

Right.

    Eli> It seems like these characters ended up in the emoji script because
    Eli> they should render as emoji when followed by variation selectors?  But
    Eli> in that case, the place to do this is in composition-function-table,
    Eli> if we can, and if we cannot, let's for now decide we don't support
    Eli> these sequences, because the cure sounds worse than the disease with
    Eli> our current infrastructure.

    Eli> Am I missing something?

Are now saying that we only want to add to the emoji script those
characters with Emoji_Presentation=Yes?

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]