From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#41747: 27.0.91; Add default fontset setup for "Symbols and Pictographs Extended-A" Date: Mon, 08 Jun 2020 22:59:32 +0200 Message-ID: <871rmpclzf.fsf@gmail.com> References: <874krnq9df.fsf@gmail.com> <83v9k36iud.fsf@gnu.org> <87blluyk77.fsf@gmail.com> <83r1up7hfz.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="127424"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41747@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 08 23:00:32 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 1jiOsi-000X1k-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jun 2020 23:00:32 +0200 Original-Received: from localhost ([::1]:52564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiOsg-0000GJ-H7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jun 2020 17:00:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiOsF-0000FO-O7 for bug-gnu-emacs@gnu.org; Mon, 08 Jun 2020 17:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiOsF-00085u-8P for bug-gnu-emacs@gnu.org; Mon, 08 Jun 2020 17:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jiOsE-0005A5-5S for bug-gnu-emacs@gnu.org; Mon, 08 Jun 2020 17:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2020 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41747 X-GNU-PR-Package: emacs Original-Received: via spool by 41747-submit@debbugs.gnu.org id=B41747.159164998319784 (code B ref 41747); Mon, 08 Jun 2020 21:00:02 +0000 Original-Received: (at 41747) by debbugs.gnu.org; 8 Jun 2020 20:59:43 +0000 Original-Received: from localhost ([127.0.0.1]:58039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jiOru-000591-P5 for submit@debbugs.gnu.org; Mon, 08 Jun 2020 16:59:43 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:37348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jiOrt-00058p-9W for 41747@debbugs.gnu.org; Mon, 08 Jun 2020 16:59:41 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id x13so18978271wrv.4 for <41747@debbugs.gnu.org>; Mon, 08 Jun 2020 13:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=t3C4bhkHHqjd4PPcaxOW9IbZywnGI8sm2cjRp1URrIw=; b=R8uCIcFqBizSGvCszC8oRrkdzucGWGVwm7id1cLpAc1W+BcuYUqPc6vrHBe9heIkGl OFB1B1Zn8Y3SlTjWi/5I1mq+SU2wH1Zs4raaMhouhWNdnWn20veq54KXS+v/gMtxyV8W 1E+YhBaszXh7Mgpm0kglgazavlS5zFoF08bl0+lA4eLokgnTtocgaPiHUoOPhcgvHhFJ 3wZkhCr7d+kAygqFnrFXi3yoFfXc2dj+qfGoQMSr7+rWoVzv0A7F3F8KGxjT+29ntCwP I6mDnZvGabQPwXg3Qq/G8MTb0u45P7MwjJs09OPYMLddtyheMHU6zSq/+MVxIaXtd7oz 7DhQ== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=t3C4bhkHHqjd4PPcaxOW9IbZywnGI8sm2cjRp1URrIw=; b=LkMz/IEAe7/aU+7+JuNTLCll6K2pYfGpihpHGg3meCjAA4mdTgwF/lNu+LNab2XRo6 e53GYbqFLQvxvIN5q64EDBnTU/coMXR4ZOWVj5jCZfZG4PkGnA6RVCFbvO+crXsUiwi1 na6lhvHz+gSdpV2OXfEzl44IycmayEGKxFf7punk3NHaHPKNYHXnP//3YLctMSJwI+tZ D5pAEVBxuRzuv92PnYJ/o73o47gtDpKjtAH1MZUu8F/kyjBGQgnQpCR0vHqxIKShVjsx aPjxKi/z8hGA16PiK86TeuMMEigv8bEU2hEkEw4CyBGBeUpccaBxlqaupcbSToUcxIWY qrSw== X-Gm-Message-State: AOAM532FUw69FVsOeAVwj2HuX3VqHmOaeChfeg2HA37JU3gJx/haFOiU 4aulQuh+FiJH4FNfjQMAu2LdAPNyT9E= X-Google-Smtp-Source: ABdhPJzhlpVMHbOCNOZQh/LcrbhGgfJdh4a7BQWKBtCFdwA3Q5qoJXkie3C7i52vO8+gilICUwyJEg== X-Received: by 2002:adf:e44c:: with SMTP id t12mr621384wrm.181.1591649974721; Mon, 08 Jun 2020 13:59:34 -0700 (PDT) Original-Received: from my-little-tumbleweed (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id i8sm946329wru.30.2020.06.08.13.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 13:59:33 -0700 (PDT) In-Reply-To: <83r1up7hfz.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Jun 2020 17:36:32 +0300") 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:181751 Archived-At: Eli Zaretskii writes: > Maybe you could find a free font that covers this block, then we could > use that instead of Symbola. I've looked, but no clear winner has emerged. Of course, GNU Unifont covers this block, though I had not realized this at first because one has to install Unifont Upper, which I had to grab from unifoundry.com because my distro does not package it AFAICT. Once that's installed, emacs -Q seems to pick it up automatically, so the situation is not as critical as I thought. Then there are color fonts dedicated to emoji. If we start using such a font for the default fontset setup, it would probably make sense to assign it to more blocks than just "Symbols and Pictographs Extended-A", otherwise people will wonder why some emoji show up with a color font while others don't. Finding all emoji that should be displayed with a color font sounds like a whole other issue which probably deserves its own bug report. I imagine we'd need to scrape Unicode's emoji-data.txt to figure which characters have Emoji_Presentation set; IIUC the subject has already been broached in bug#39799. As to which emoji font we could pick=E2=80=A6 - Noto Color Emoji (SIL Open Font License) seems the most ubiquitous AFAICT (packaged in e.g. Debian, OpenSUSE, Fedora; a .ttf file is available in the developer repository). It doesn't cover Unicode 13 yet but that shouldn't take long. - Twemoji (CC-BY) covers Unicode 13, unfortunately the procedure to get a .ttf is a bit=E2=80=A6 involved. IIUC Fedora re-uses Noto's machinery = to generate a TrueType font from SVG assets[1]. I haven't seen many distributions packaging it yet. - OpenMoji (CC-BY-SA) is making progress on Unicode 13 coverage[2]; it also has a "black" (non-colored) variant, which means we could use it for blocks not covered by the older Symbola and it wouldn't look out of place. In fact the "color" variant only shows up as colored with Firefox, for some reason[3]. There are .ttf files in the developer repository, but they don't seem to be packaged by many distros yet (it's in OpenSUSE, it'll get into Fedora Soonish=E2=84=A2[4]). There are probably other candidates. For the purpose of this bug report however, GNU Unifont is the only free, readily available, and non-color option I have found for "Symbols and Pictographs Extended-A". Since Emacs already uses that=E2=80=A6 SNAFU, I'd conclude. [1] https://bugzilla.redhat.com/show_bug.cgi?id=3D1514274 [2] https://github.com/hfg-gmuend/openmoji/issues/124 [3] https://github.com/hfg-gmuend/openmoji/issues/93 [4] https://bugzilla.redhat.com/show_bug.cgi?id=3D1803059