emacs-devel
[Top][All Lists]
Advanced

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

Re: emojis and other multi-character glyphs


From: LdBeth
Subject: Re: emojis and other multi-character glyphs
Date: Sun, 26 Dec 2021 20:35:27 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojล) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO)

>>>>> 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]



reply via email to

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