unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Color emojis on Win10?
Date: Tue, 09 Nov 2021 12:53:26 +0100	[thread overview]
Message-ID: <86tugllf49.fsf@gnu.org> (raw)

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

             reply	other threads:[~2021-11-09 11:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 11:53 Arash Esbati [this message]
2021-11-09 12:11 ` Color emojis on Win10? 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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86tugllf49.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 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).