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: Sat, 29 Feb 2020 11:40:17 +0200 Message-ID: <83mu91enpa.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> <835zfqfohj.fsf@gnu.org> <831rqefmsr.fsf@gnu.org> <83tv3ae586.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="58252"; 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 Sat Feb 29 10:41:13 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 1j7ycS-000F2Y-4H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Feb 2020 10:41:12 +0100 Original-Received: from localhost ([::1]:58852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7ycR-0002qS-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Feb 2020 04:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44140) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7ycJ-0002qH-Nl for bug-gnu-emacs@gnu.org; Sat, 29 Feb 2020 04:41:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7ycI-0008MR-MA for bug-gnu-emacs@gnu.org; Sat, 29 Feb 2020 04:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7ycI-0008MN-JP for bug-gnu-emacs@gnu.org; Sat, 29 Feb 2020 04:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7ycI-0007RE-Hq for bug-gnu-emacs@gnu.org; Sat, 29 Feb 2020 04:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Feb 2020 09:41: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.158296923928532 (code B ref 39799); Sat, 29 Feb 2020 09:41:02 +0000 Original-Received: (at 39799) by debbugs.gnu.org; 29 Feb 2020 09:40:39 +0000 Original-Received: from localhost ([127.0.0.1]:34241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7ybu-0007Q8-Qy for submit@debbugs.gnu.org; Sat, 29 Feb 2020 04:40:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7ybs-0007Po-Pb for 39799@debbugs.gnu.org; Sat, 29 Feb 2020 04:40:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j7ybm-000809-9d; Sat, 29 Feb 2020 04:40:31 -0500 Original-Received: from [176.228.60.248] (port=3892 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j7ybl-0000K2-8a; Sat, 29 Feb 2020 04:40:29 -0500 In-reply-to: (message from Mike FABIAN on Sat, 29 Feb 2020 08:50:40 +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:176661 Archived-At: > From: Mike FABIAN > Cc: Robert Pluim , 39799@debbugs.gnu.org > Date: Sat, 29 Feb 2020 08:50:40 +0100 > > >> and #xFE0F is always composable according to composite.c, so I donʼt > >> understand why composing only works with Noto Color Emoji. Or does the > >> font need specific support for it? > > > > Yes, the font needs to have glyph variations, see > > font-variation-glyphs and its underlying font-backend method > > get_variation_glyphs. > > http://unicode.org/reports/tr51/#Presentation_Style > > doesn’t seem to say that the fonts should have the variations. Please elaborate: which part thereof says that, and what are the implications regarding the fonts? The rendering of Emoji sequences is handled in Emacs via the font backend: Emacs submits the sequence to the backend, and the backend returns one or more glyphs that should be used to display the sequence. Emacs only submits a sequence of characters to the backend if the sequence matches one of the composition rules in composition-function-table. And the possible match for such composition rules is limited to character sequences that have the same 'face' text property, which in particular means the same font. In the case of variation selectors as part of the characters to be composed, Emacs additionally tests that the face's font has a glyph for the specified variation selector. If you are saying some of the above contradicts Unicode, please point out which part(s) and why. Thanks.