From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mike FABIAN 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 16:32:39 +0100 Organization: Red Hat Message-ID: References: <83lfongp4p.fsf@gnu.org> <835zfrglu5.fsf@gnu.org> <83wo86g8pg.fsf@gnu.org> <83lfomg49b.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="ciao.gmane.io:159.69.161.202"; logging-data="85314"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Robert Pluim , 39799@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 28 16:33: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 1j7hdY-000M65-Mp for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 16:33:12 +0100 Original-Received: from localhost ([::1]:48408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7hdX-0007mQ-N7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Feb 2020 10:33:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7hdO-0007kO-V6 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 10:33:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7hdN-0002qC-T5 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 10:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55916) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7hdN-0002q6-Pz for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 10:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7hdN-0008FB-M0 for bug-gnu-emacs@gnu.org; Fri, 28 Feb 2020 10:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike FABIAN Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Feb 2020 15:33:01 +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.158290397431672 (code B ref 39799); Fri, 28 Feb 2020 15:33:01 +0000 Original-Received: (at 39799) by debbugs.gnu.org; 28 Feb 2020 15:32:54 +0000 Original-Received: from localhost ([127.0.0.1]:33656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7hdF-0008El-OS for submit@debbugs.gnu.org; Fri, 28 Feb 2020 10:32:54 -0500 Original-Received: from us-smtp-2.mimecast.com ([207.211.31.81]:59819 helo=us-smtp-delivery-1.mimecast.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7hdD-0008EL-6V for 39799@debbugs.gnu.org; Fri, 28 Feb 2020 10:32:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582903965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=75qNhD1oQM9UNy7Ri14QqWQADJV8JAGK8TzAcXokqPk=; b=HKkAKJp+dlbpeuu2VkEk8WXS20a3qIX/SStr2PEk6oOGkMKiLQNC4a+2Pcn6AagFhCzVNP wgUlRa4SNTmjuU3XqMoL152wV/WOM9R3gngOOX6emgnwpMDQuRtHuSBjBHAqNvoWbttYl2 oBQVbmzjAk23a/T5Y7Q1Pb3QRSGOMyk= Original-Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-41-hZR6OH_RMPOkLCD0BInVgA-1; Fri, 28 Feb 2020 10:32:42 -0500 X-MC-Unique: hZR6OH_RMPOkLCD0BInVgA-1 Original-Received: by mail-wm1-f70.google.com with SMTP id c5so1312125wmd.8 for <39799@debbugs.gnu.org>; Fri, 28 Feb 2020 07:32:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=qzycZ/+fNeL267OvBn6+4MR/ngLzm38ylbwPig9dGPs=; b=cdfzY3xqGWqikE53QsdLXw5TEqKrJupm2ZPgBVmEFmNyflmVcGtc5PwkBVPZkLx9M9 Xydf980ti+k26Qz8BAeTSpmCMErs3waTiq0tylpzBoAQLwfw5DYLqHevHXc5ax4z3u6A PAL9YomnoSpwoID2i7bFdkGQIEGbgKbWyebUrByIzZPxyi3xzYXcMFnT3cYKerqa3EGq lp85FAfEzqvzY8aL4xRU79LZa+0p5lF0PTvOsWSfbNAKtpFFbpyMGOsvHmWWkNqHgihh /LBlEI4iVmVrX8ZKHRaXvxzdkv53oMDHW5VZ4HZb1quB/FLMFKRXQU0qSOCIyVJ8EFtA +Z7A== X-Gm-Message-State: APjAAAV6d+Pc3Z2XCYiKdTNqDyHZ14ZyKuyIbkHVpkIioTUNtek/3iKw F3TX+Vyo9a3o+4IkXildvOkuBqNHIkiB9io0GegU1529uZosBbjyvVkaAOpP26ryQUJd0ObP1ZK nOiEKj3XBBaB8dQ== X-Received: by 2002:a1c:66d6:: with SMTP id a205mr5286527wmc.10.1582903961475; Fri, 28 Feb 2020 07:32:41 -0800 (PST) X-Google-Smtp-Source: APXvYqw2S6iqrJ6CPKsgWsOyz8RY/eCWppjcsfPB4VQ9ChdPmogVF9VT0JQ7Q1fk7fiMWw7lkgUGrA== X-Received: by 2002:a1c:66d6:: with SMTP id a205mr5286513wmc.10.1582903961187; Fri, 28 Feb 2020 07:32:41 -0800 (PST) Original-Received: from taka.site (ppp-46-244-193-84.dynamic.mnet-online.de. [46.244.193.84]) by smtp.gmail.com with ESMTPSA id u62sm2810757wmu.17.2020.02.28.07.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 07:32:40 -0800 (PST) Original-Received: from taka.site (localhost [IPv6:::1]) by taka.site (Postfix) with ESMTP id B441C900; Fri, 28 Feb 2020 16:32:39 +0100 (CET) X-Face: "'; oPz9V1+<,`}1ZuxRv~EiSusWq*{Yjr"Sdvbhq'?q=2R\\6Y9O/,SAE`{J|6I=|w/sQg< rW_N'E3IV6~f8?\l#Es`]S`mv',PY(`8{$$R?+gLu}Qv/Mn>)?uladFjJ@yl!_p_Jh; 5QxlD6zL:?r IXe4FfK$C^mWhh$o`yt; .r.FLZLQOWBt> (Eli Zaretskii's message of "Fri, 28 Feb 2020 16:45:04 +0200") X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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:176584 Archived-At: Eli Zaretskii =E3=81=95=E3=82=93=E3=81=AF=E3=81=8B=E3=81=8D= =E3=81=BE=E3=81=97=E3=81=9F: >> From: Robert Pluim >> Cc: Glenn Morris , mfabian@redhat.com, 39799@debbugs.gnu.= org >> Date: Fri, 28 Feb 2020 15:14:01 +0100 >>=20 >> >> It DTRT for me under Cairo if I change my fontset settings to use >> >> 'Noto Color Emoji' instead of Symbola for: >>=20 >> Eli> Is that a free font (it's from Google, AFAIK, so it might not b= e)? If >> Eli> it is free, we could modify fontset.el to use this font if avai= lable. >> Eli> (Or maybe there are better free Emoji fonts out there?) >>=20 >> Its license is Apache 2.0. It seems fairly popular. I have no opinion >> either way. > > What about the fact that we still support XFT? Is it possible to set up the fontsets by default in a way that colour emoji fonts like "Noto Color Emoji" can be used by default in a cairo build but avoided by default in an XFT build? > And anyway, the name "Noto Color Emoji" seems to imply it's a font > created to display Emoji, not symbols in general, let alone non-symbol > blocks we currently set up to use Symbola if that is available. Yes, if possible, "Noto Color Emoji" should be preferred for the emoji but Symbola should be preferred for all the other symbols. >> As Mike clarified, you need to change the fontsets in order to get >> them to display in colour (uncomposed, of course). > > I don't see how that is relevant. Fontsets are just means to cause > Emacs use a certain font for a certain range of characters. Fontsets > do not affect color Emoji support. Yes, so if you change the fontset to use a colour emoji font for a certain range of characters (which should be emoji), these emoji will display in colour in a cairo build. I am not sure what happens in an XFT build, if possible such unsupported fonts should be ignored in an XFT build. --=20 Mike FABIAN =E7=9D=A1=E7=9C=A0=E4=B8=8D=E8=B6=B3=E3=81=AF=E3=81=84=E3=81=84=E4=BB=95=E4= =BA=8B=E3=81=AE=E6=95=B5=E3=81=A0=E3=80=82