emacs-devel
[Top][All Lists]
Advanced

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

Color emojis on Win10?


From: Arash Esbati
Subject: Color emojis on Win10?
Date: Tue, 09 Nov 2021 12:53:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

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':

PNG image

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

reply via email to

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