From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#56691: outline-minor-mode displays navigation arrow buttons as emojis Date: Sat, 30 Jul 2022 13:33:44 +0200 Message-ID: <877d3u25t3.fsf@gnus.org> References: <15cd39ee8fe919a8656095fbfa5ae85e@purelymail.com> <83k085lhj1.fsf@gnu.org> <87o7xg5ob9.fsf@gnus.org> <83tu78i9xz.fsf@gnu.org> <875yjo47a8.fsf@gnus.org> <83pmhwi8i7.fsf@gnu.org> <87k0842s4s.fsf@gnus.org> <83o7xgi53z.fsf@gnu.org> <87zggyyiy3.fsf@gnus.org> <874jz1wgzm.fsf@gnus.org> <83sfml8gez.fsf@gnu.org> <87czdom9w6.fsf@gnus.org> <83wnbw6r9o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7443"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: hello@paulwrankin.com, 56691@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 30 13:34:09 2022 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 1oHkjR-0001kN-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 13:34:09 +0200 Original-Received: from localhost ([::1]:45424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHkjQ-0001dp-3K for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 07:34:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHkjJ-0001dh-Vx for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 07:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44418) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHkjJ-00029p-NQ for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 07:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHkjJ-0000WV-JI for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 07:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jul 2022 11:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56691 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 56691-submit@debbugs.gnu.org id=B56691.16591808372001 (code B ref 56691); Sat, 30 Jul 2022 11:34:01 +0000 Original-Received: (at 56691) by debbugs.gnu.org; 30 Jul 2022 11:33:57 +0000 Original-Received: from localhost ([127.0.0.1]:34167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHkjE-0000WD-Rj for submit@debbugs.gnu.org; Sat, 30 Jul 2022 07:33:57 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:52476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHkjC-0000Vx-MC for 56691@debbugs.gnu.org; Sat, 30 Jul 2022 07:33:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=FTAjNzMF/WLz7g23sKh2y1V2Ru6D8NEB8SCByApQoOE=; b=A5pByACnYBQs54r1/eRDQUPN5i 6CPmTcf9opjofRwAUjVeRoSJGPlqvfjMIxjUv/wT57BhZdDSr24mqqisM+ONZv610RB3nuIgfaTrH GHpYV+Xv0kxybwN2NostzL1nTU/kEYpwkQXO9hN+kVGzcAqgnXX54vsL9JhKeu3q8TQc=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oHkj2-0000CK-Uu; Sat, 30 Jul 2022 13:33:47 +0200 In-Reply-To: <83wnbw6r9o.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 29 Jul 2022 15:24:19 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAlQTFRF LCkqy8fG////GdDKrAAAAAFiS0dEAmYLfGQAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElNRQfm Bx4KNxCOCJsFAAAAWklEQVQoz63RSwqAMAwE0CnoDdr7xIX7BjL3v4pShIw7S53dI1nkA6yncMRm 4fTEwfIg7h5TIFGRaCaoSBCC2ARdK/YzKBOcDDRZuytiGbte9AVXzL/kA9ZyAS4GO9+aijnyAAAA WmVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAA AAEAAgAAAhMAAwAAAAEAAQAAAAAAAAAAAEgAAAABAAAASAAAAAEfUvc0AAAAJXRFWHRkYXRlOmNy ZWF0ZQAyMDIyLTA3LTMwVDEwOjU1OjE2KzAwOjAwnmPMaQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy Mi0wNy0zMFQxMDo1NToxNiswMDowMO8+dNUAAAAXdEVYdGV4aWY6WUNiQ3JQb3NpdGlvbmluZwAx rA+AYwAAADh0RVh0aWNjOmNvcHlyaWdodABDb3B5cmlnaHQgKGMpIDE5OTggSGV3bGV0dC1QYWNr YXJkIENvbXBhbnn5V3k3AAAAIXRFWHRpY2M6ZGVzY3JpcHRpb24Ac1JHQiBJRUM2MTk2Ni0yLjFX rdpHAAAAJnRFWHRpY2M6bWFudWZhY3R1cmVyAElFQyBodHRwOi8vd3d3LmllYy5jaBx/AEwAAAA3 dEVYdGljYzptb2RlbABJRUMgNjE5NjYtMi4xIERlZmF1bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNS R0JEU0ipAAAAAElFTkSuQmCC X-Now-Playing: Irreversible Entanglements's _Open The Gates_: "Water Meditation" 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:238254 Archived-At: Eli Zaretskii writes: > I think we can currently only do that by looking at the details of the > build. Currently, color Emoji are supported only by builds with Cairo > and HarfBuzz on Unix and by macOS builds. We don't support colour emojis on Windows? I didn't know that. > But even that could be not enough, since the necessary font may not be > installed. So here's another idea: use font-at to check that it > returns one of the known color Emoji fonts for an Emoji character. > For example: > > (font-get (font-at 0 nil "=F0=9F=98=84") :family) > =3D> Symbola Ah, right. I didn't know that Symbola had coverage for these characters. Perhaps a really simple fix would be to just choose a character that we're pretty sure will never be supported by non-Emoji fonts? Let's see... Symbola doesn't have support for LARGE ORANGE CIRCLE "=F0=9F=9F=A0", so we = could try that instead. I know, it's brittle, but so is listing all known colour emoji fonts. The real fix would be to look at the actual glyph data produced, and see whether it's colourful or not, wouldn't it? Is that possible? Or alternatively -- query the font whether it has colour glyphs, but I don't know whether that's easy, either. Anybody know?