From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#44020: 28.0.50; Prefer selection of colour emoji fonts? Date: Sat, 17 Oct 2020 16:27:58 +0100 Message-ID: <20201017152758.GC1166@breton.holly.idiocy.org> References: <87tuuvtl5n.fsf@gnus.org> <83tuuvwcd8.fsf@gnu.org> <83a6wmwjod.fsf@gnu.org> <20201016193041.GA1166@breton.holly.idiocy.org> <87o8l1z7al.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44020@debbugs.gnu.org, Robert Pluim To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 17 17:29:12 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 1kTo8t-00091J-E4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Oct 2020 17:29:11 +0200 Original-Received: from localhost ([::1]:60536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTo8s-00076m-HD for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Oct 2020 11:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTo8k-000767-K4 for bug-gnu-emacs@gnu.org; Sat, 17 Oct 2020 11:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTo8k-0004Ue-9S for bug-gnu-emacs@gnu.org; Sat, 17 Oct 2020 11:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTo8k-0002wz-5w for bug-gnu-emacs@gnu.org; Sat, 17 Oct 2020 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Oct 2020 15:29: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.160294848711261 (code B ref 44020); Sat, 17 Oct 2020 15:29:02 +0000 Original-Received: (at 44020) by debbugs.gnu.org; 17 Oct 2020 15:28:07 +0000 Original-Received: from localhost ([127.0.0.1]:35343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTo7r-0002vZ-53 for submit@debbugs.gnu.org; Sat, 17 Oct 2020 11:28:07 -0400 Original-Received: from idiocy.org ([217.169.17.33]:50346 helo=breton.holly.idiocy.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTo7o-0002v0-UC for 44020@debbugs.gnu.org; Sat, 17 Oct 2020 11:28:05 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id CB5302026103B2; Sat, 17 Oct 2020 16:27:58 +0100 (BST) Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Robert Pluim , Eli Zaretskii , 44020@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87o8l1z7al.fsf@gnus.org> 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:190813 Archived-At: On Sat, Oct 17, 2020 at 08:38:10AM +0200, Lars Ingebrigtsen wrote: > Alan Third writes: > > > On the other hand it comes preinstalled, it only works on Apple > > devices, and Noto Color Emoji doesn't work on Apple devices. I'm not > > sure we'd really be "promoting" it. > > On the third hand, since it's preinstalled, Emacs doesn't need to > mention it, because it's always there, and Emacs won't have problems > displaying the characters it offers. Even once I remove this code: modified src/macfont.m @@ -2414,11 +2414,6 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no != (spacing >= FONT_SPACING_MONO))) continue; - /* Don't use a color bitmap font unless its family is - explicitly specified. */ - if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family)) - continue; - if (j > 0 && !macfont_supports_charset_and_languages_p (desc, charset, chars, languages)) Emacs almost never finds Apple Color Emoji without help. I've no idea why. For some reason it finds the font for BLACK DOWN-POINTING DOUBLE TRIANGLE, but not SMILING FACE WITH SMILING EYES unless the former is already in the document. Should this Just Work? BTW, there is code in ns-win.el that plays with the default fontset on Macs which may be breaking our rules. -- Alan Third