From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39799: 28.0.50; Most emoji sequences =?UTF-8?Q?don=E2=80=99t?= render correctly Date: Fri, 28 Feb 2020 23:49:40 +0200 Message-ID: <83y2sme617.fsf@gnu.org> References: <83lfongp4p.fsf@gnu.org> <835zfrglu5.fsf@gnu.org> <83wo86g8pg.fsf@gnu.org> <83k146g46x.fsf@gnu.org> <83imjqg1iv.fsf@gnu.org> <837e06foof.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58886"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, 39799@debbugs.gnu.org To: Mike FABIAN Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 28 22:50:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7nWQ-000FEZ-Rw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 22:50:14 +0100 Original-Received: from localhost ([::1]:54216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7nWP-0000T9-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 16:50:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39158) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7nWG-0000QU-8Q for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 16:50:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7nWF-0008Fw-8M for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 16:50:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7nWF-0008Fs-4z for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 16:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7nWE-0003bq-Ul for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 16:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2020 21:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39799 X-GNU-PR-Package: emacs Original-Received: via spool by 39799-submit@debbugs.gnu.org id=B39799.158292660113861 (code B ref 39799); Fri, 28 Feb 2020 21:50:02 +0000 Original-Received: (at 39799) by debbugs.gnu.org; 28 Feb 2020 21:50:01 +0000 Original-Received: from localhost ([127.0.0.1]:33893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7nWD-0003bT-0k for submit@debbugs.gnu.org; Fri, 28 Feb 2020 16:50:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7nWB-0003b2-Kx for 39799@debbugs.gnu.org; Fri, 28 Feb 2020 16:49:59 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j7nW6-00086n-4r; Fri, 28 Feb 2020 16:49:54 -0500 Original-Received: from [176.228.60.248] (port=4547 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j7nW5-0002kY-9i; Fri, 28 Feb 2020 16:49:53 -0500 In-reply-to: (message from Mike FABIAN on Fri, 28 Feb 2020 22:10:43 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176621 Archived-At: > From: Mike FABIAN > Cc: rpluim@gmail.com, 39799@debbugs.gnu.org > Date: Fri, 28 Feb 2020 22:10:43 +0100 > > Eli Zaretskii さんはかきました: > > >> From: Mike FABIAN > >> Cc: Eli Zaretskii , 39799@debbugs.gnu.org > >> Date: Fri, 28 Feb 2020 18:30:12 +0100 > >> > >> U+24C2 is an Emoji which has both a text and an emoji presentation. > > > > I don't think I understand how this fact is relevant to which font > > Emacs selects for a character. Can you elaborate on the relation? > > That means that U+24C2 should display using a black and white “text” > font like Symbola and U+24C2 U+FE0E as well, if possible. But U+24C2 > U+FE0F should be displayed with a color emoji font like “Noto Color > Emoji”, if possible. > > That’s how it works in gedit for example. If Gedit selects a font by looking at more than one codepoint (and I'm not sure this is how it works in Gedit), then Emacs doesn't work that way. But regardless of how a font is selected, a single U+24C2 should be displayed as its default glyph in a font, whereas U+24C2 followed by U+FE0F should be displayed as a different glyph, the 16th variation of U+24C2 provided by the font. That variation could be a color one, or it could be some other variation of the default glyph, it all depends on what the font designer did. > By browsing the emoji data files with Emacs, I noticed that all emoji > which have text and emoji presentations *always* displayed in black and > white for me (Symbola font) even when I tried to set the fontset to use > “Noto Color Emoji” for these code points. Emacs by default disregards the fontset for symbol and punctuation characters. Set use-default-font-for-symbols to nil to override that. In any case, are these sequences displayed as composed characters? Does "C-u C-x =" tell that the base character U+24C2 was composed with the following variation selector? According to the setup in japanese.el, they should compose, if the font used for U+24C2 also supports the variation selectors.