all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: LdBeth <andpuke@foxmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	lg.zevlg@gmail.com, emacs-devel@gnu.org
Subject: Re: emojis and other multi-character glyphs
Date: Sun, 26 Dec 2021 20:35:27 +0800	[thread overview]
Message-ID: <tencent_69EAFC6FDC4DA03BC911B127010342C7C405@qq.com> (raw)
In-Reply-To: <83wnjro9xv.fsf@gnu.org>

>>>>> In <83wnjro9xv.fsf@gnu.org> 
>>>>>	Eli Zaretskii <eliz@gnu.org> wrote:
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Evgeny Zajcev <lg.zevlg@gmail.com>,  emacs-devel@gnu.org
> Date: Sun, 26 Dec 2021 12:53:08 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Swift counts them: "👨‍👩‍👧‍👦".length
> >>  == 1
> 
> [...]
> 
> > But the above sequence displays here as 4 glyphs, not as one.
> 
> It displays as one glyph here.

EZ> ??? Don't you see 4 faces there?

At first I thought you are joking, but I guess not everyone's deviced
are configued differently for display Unicode or Emoji. :P

On a Mac (or computers with Apple Color Emoji installed), the above
Emoji is indeed displayed as one glyph.

The following is describe-char:

             position: 464 of 641 (72%), column: 25
            character: 👨 (displayed as 👨) (codepoint 128104, #o372150, #x1f468)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x1F468
               script: symbol
               syntax: w 	which means: word
             category: .:Base
             to input: type "C-x 8 RET 1f468" or "C-x 8 RET MAN"
          buffer code: #xF0 #x9F #x91 #xA8
            file code: #xF0 #x9F #x91 #xA8 (encoded by coding system utf-8)
              display: composed to form "👨‍👩‍👧‍👦" (see below)

Composed with the following character(s) "‍👩‍👧‍👦" using this font:
  mac-ct:-*-Apple Color Emoji-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1
by these glyphs:
  [0 6 0 1438 17 -1 18 13 4 nil]

Character code properties: customize what to show
  name: MAN
  general-category: So (Symbol, Other)
  decomposition: (128104) ('👨')

There are text properties here:
  face                 wl-highlight-message-cited-text-4
  mime-view-entity     [Show]
  mime-view-entity-body [Show]
  mime-view-situation  [Show]



  parent reply	other threads:[~2021-12-26 12:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-26  9:43 emojis and other multi-character glyphs Evgeny Zajcev
2021-12-26 10:15 ` Eli Zaretskii
2021-12-26 10:41   ` Evgeny Zajcev
2021-12-26 10:51     ` Eli Zaretskii
2021-12-26 10:56       ` Evgeny Zajcev
2021-12-26 10:58         ` Eli Zaretskii
2021-12-26 11:09           ` Evgeny Zajcev
2021-12-26 11:26             ` Eli Zaretskii
2021-12-26 11:53               ` Lars Ingebrigtsen
2021-12-26 11:57                 ` Eli Zaretskii
2021-12-26 12:03                   ` Lars Ingebrigtsen
2021-12-26 12:13                     ` Eli Zaretskii
2021-12-26 12:16                       ` Po Lu
2021-12-26 12:26                       ` Lars Ingebrigtsen
2021-12-26 12:50                         ` Po Lu
2021-12-26 13:00                         ` Eli Zaretskii
2021-12-27 10:30                           ` Lars Ingebrigtsen
2021-12-27 14:46                             ` Eli Zaretskii
2021-12-29  4:54                               ` Anand Tamariya
2021-12-29 13:01                                 ` Eli Zaretskii
2021-12-26 12:35                   ` LdBeth [this message]
2021-12-26 13:01                     ` Eli Zaretskii
2021-12-26 18:00     ` Stefan Monnier
2021-12-26 10:45 ` Lars Ingebrigtsen
2021-12-26 10:50   ` Evgeny Zajcev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_69EAFC6FDC4DA03BC911B127010342C7C405@qq.com \
    --to=andpuke@foxmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=lg.zevlg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.