From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44020: 28.0.50; Prefer selection of colour emoji fonts? Date: Fri, 16 Oct 2020 13:49:46 +0300 Message-ID: <83362ewilx.fsf@gnu.org> References: <87tuuvtl5n.fsf@gnus.org> <83tuuvwcd8.fsf@gnu.org> <83a6wmwjod.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="blaine.gmane.org:116.202.254.214"; logging-data="14727"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44020@debbugs.gnu.org, larsi@gnus.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 12: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 1kTNJO-0003jy-2e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 12:50:14 +0200 Original-Received: from localhost ([::1]:32860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTNJN-0004pv-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 06:50:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTNJC-0004pI-QO for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 06:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTNJC-00026Y-GN for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 06:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTNJC-0000rI-E8 for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 06:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 10:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44020 X-GNU-PR-Package: emacs Original-Received: via spool by 44020-submit@debbugs.gnu.org id=B44020.16028453963281 (code B ref 44020); Fri, 16 Oct 2020 10:50:02 +0000 Original-Received: (at 44020) by debbugs.gnu.org; 16 Oct 2020 10:49:56 +0000 Original-Received: from localhost ([127.0.0.1]:57840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTNJ5-0000qr-LS for submit@debbugs.gnu.org; Fri, 16 Oct 2020 06:49:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTNJ4-0000qf-BN for 44020@debbugs.gnu.org; Fri, 16 Oct 2020 06:49:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52159) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTNIy-00025j-Uj; Fri, 16 Oct 2020 06:49:48 -0400 Original-Received: from [176.228.60.248] (port=3921 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTNIy-000475-4p; Fri, 16 Oct 2020 06:49:48 -0400 In-Reply-To: (message from Robert Pluim on Fri, 16 Oct 2020 12:38:18 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:190685 Archived-At: > From: Robert Pluim > Cc: larsi@gnus.org, 44020@debbugs.gnu.org > Date: Fri, 16 Oct 2020 12:38:18 +0200 > > >> 1. Deciding what fonts we should use for emoji. We can get a lot of > >> good results by adding appropriate 'set-fontset-font' calls to > >> emacs, independently of any other work (I also wonder if we should > >> change the default of use-default-font-for-symbols, given the > >> proliferation of both emoji and fonts dedicated to displaying them) > >> > >> 2. Extract the emoji sequences from the Unicode data files and assign > >> them to a new 'emoji' script. Be prepared to choose your favourite > >> bikeshed colour. > >> > >> 3. Add the appropriate entries to composition-function-table so that > >> the various multi-codepoint emoji sequences have a chance to be > >> rendered correctly, whether by HarfBuzz or the Apple thing whose > >> name I forget. > >> > >> For [1], I think "Noto Color Emoji" and "Apple Color Emoji" would be a > >> good start. > > Eli> I agree, but [1] depends on [2], because set-fontset-font needs to > Eli> know the script. > > set-fontset-font with a TARGET covering the emoji codepoints in > question, I meant. Youʼre right itʼs probably cleaner to do both at > the same time. Yes, because using the codepoints will mean more maintenance in the future, as more Emoji blocks are added (and they will be, quite certainly). > > Eli> Also, Noto Color Emoji has a free license, so it's okay for it to be > Eli> in fontset.el, but it is not clear to me whether Apple Color Emoji is > Eli> distributed under a free license. > > Itʼs marked 'Copyright Apple 2011-2016' in the macOS font > selector. And Apple appear to be both sensitive and litigious about > it, so probably best not to promote it. Right. People will have to do that on their own, if they don't want to install a free font.