unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Color emojis on Win10?
@ 2021-11-09 11:53 Arash Esbati
  2021-11-09 12:11 ` Robert Pluim
  2021-11-09 13:25 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Arash Esbati @ 2021-11-09 11:53 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

Hi all,

I'm using a recent build (41b1fa05c7) from master on Win10 and have the
following snippet in my init file for emojis:

    (set-fontset-font t 'emoji
                      (font-spec :family   "Segoe UI Emoji"
                                 :registry "iso10646-1"
                                 :size     9.3)
                      nil 'prepend)

Is it possible to get color emojis with Segoe UI Emoji?  This is what I
see when using `C-x 8 e i':

[-- Attachment #2: emoji.png --]
[-- Type: image/png, Size: 8322 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1054 bytes --]


And when I choose 'Water Closet' under transport-sign (which is a new
method to me ;-), it is inserted B/W.  The character itself is taken
from the font:

            character: 🚾 (displayed as 🚾) (codepoint 128702, #o373276, #x1f6be)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x1F6BE
               script: emoji
               syntax: w 	which means: word
             category: .:Base
             to input: type "C-x 8 RET 1f6be" or "C-x 8 RET WATER CLOSET"
          buffer code: #xF0 #x9F #x9A #xBE
            file code: #xF0 #x9F #x9A #xBE (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    harfbuzz:-outline-Segoe UI Emoji-medium-normal-normal-sans-12-*-*-*-p-*-iso10646-1 (#x1882)

I tried to install Noto Color Emoji from here[1] but the
WindowsCompatible ttf still doesn't work under Win10 (Ver 21H1, 19043).

Any chance to get colors with Segoe?

Best, Arash

Footnotes:
[1]  https://github.com/googlefonts/noto-emoji/tree/main/fonts

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-09 13:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 11:53 Color emojis on Win10? Arash Esbati
2021-11-09 12:11 ` Robert Pluim
2021-11-09 13:28   ` Eli Zaretskii
2021-11-09 13:25 ` Eli Zaretskii
2021-11-09 13:36   ` Arash Esbati
2021-11-09 13:56     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).