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: Sun, 07 Jun 2020 15:43:40 +0200 Message-ID: <874krnq9df.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="60405"; mail-complaints-to="usenet@ciao.gmane.io" To: 41747@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 15:44:09 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 1jhvar-000Fgh-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 15:44:09 +0200 Original-Received: from localhost ([::1]:60032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhvaq-0006ne-Bv for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 09:44:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhvak-0006nS-0z for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 09:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhvaj-0004tJ-Ok for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 09:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhvaj-0004FM-NZ for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 09:44:01 -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: Sun, 07 Jun 2020 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41747 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159153743016296 (code B ref -1); Sun, 07 Jun 2020 13:44:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Jun 2020 13:43:50 +0000 Original-Received: from localhost ([127.0.0.1]:53489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhvaV-0004Ej-4z for submit@debbugs.gnu.org; Sun, 07 Jun 2020 09:43:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhvaT-0004Eb-7w for submit@debbugs.gnu.org; Sun, 07 Jun 2020 09:43:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhvaT-0006hd-0V for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 09:43:45 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:40546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhvaS-0004rK-0P for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2020 09:43:44 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id r15so13789007wmh.5 for ; Sun, 07 Jun 2020 06:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=qIxFqiiDOVLPVDtOVlk1cw5iEoXnLSxiYc0SQfGA+N0=; b=GaXeqw4t/fwCxurqaEhMAbRaike3XbM247L8//3nNie56YkLa/SXTfazex99H0fL5U YR9aWagiGeDMNYKhd2o/L8ltmlZBS972Djr23XlrJ5C4Xkr4Cnvblc56DmE6Tzuj1xlF aO9ENSvzx35p1suEAvs5eT/25kOCWLMMjC9nx9Emyt/1ffdpqasGS9PRB1ppaO81NKS4 VuEnufA+aOa2cLhgBfRrXQQGm6gz3JOBQ7UVfcGskpClHcST/xvadh3DaJsYclEW74+v EMxl6+B8AaDUBVHwFjNpPttOMC2KNwF/SlyGytg+go5Mo4D5Hn0jLPGK7HKtovLU2PAP ebXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=qIxFqiiDOVLPVDtOVlk1cw5iEoXnLSxiYc0SQfGA+N0=; b=jDoC4R9fZPdghvwN1NEs6FXffGdzGn7dUvFtmtHzBKYGlWsH7Ts4fKD8UUXnOem10Y FKEJF6k8QyAo2VmnpRyC+a+qBCvwEj5IaIm6wlCPH7jeuo80ggJKU0ONvdzghJWSbTzL u+b8cOEFazk0LjhCYUytsvu/Z+lv9VpdLW866PNbVtZtOIThrogSs1ssOKKIlageqLo2 5cfWI6gGhrcL3q7A+79QhLIxtVBhi14+RQKP5A+KhpBrwfLmLzw1cK/HtM/fEFfQHO8T km78WDZcAyQ74ijaEgvbYCaz//VdyLn5yBN1IAdym9Ts2QUPsxfduVs9QduX9ffgEAnm POeQ== X-Gm-Message-State: AOAM533fCuwF6v7k1HyPDsoP5jk8BwRcuLannqsdYlOZLz/zbnhLd4tS qGGTjihA7hSfgyRqjXN9w3COMtzhcjM= X-Google-Smtp-Source: ABdhPJzw/kqsn0B9OSKH62Stq9W6l24xIjN6ViOg4JeiPBn4n0t6ag22hGHHMxu0/YzGqC+9IY+dKA== X-Received: by 2002:a1c:9804:: with SMTP id a4mr11806687wme.109.1591537421791; Sun, 07 Jun 2020 06:43:41 -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 d16sm19485787wmd.42.2020.06.07.06.43.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jun 2020 06:43:40 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=kevin.legouguec@gmail.com; helo=mail-wm1-x330.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:181663 Archived-At: --=-=-= Content-Type: text/plain Hi, IIUC, "Symbols and Pictographs Extended-A"[1][2] is a new Unicode block that showed up in version 12.0 and extends the "Supplemental Symbols and Pictographs" block. Since we use Symbola for the latter, I figure it wouldn't hurt to also use this font for the former? AFAICT Symbola covers the whole block[3]. Here is a patch to that effect: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Use-Symbola-to-cover-Symbols-and-Pictographs-Extende.patch >From 8d072a05797a72f757b212939bc548911cced9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= Date: Sun, 7 Jun 2020 13:55:10 +0200 Subject: [PATCH] Use Symbola to cover "Symbols and Pictographs Extended-A" This Unicode block was added in version 12.0 and extends the "Supplemental Symbols and Pictographs" block. Symbola covers all characters in this block. * lisp/international/fontset.el (setup-default-fontset): Add "Symbols and Pictographs Extended-A" to the subgroups covered by Symbola. --- lisp/international/fontset.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 23abb0d0a9..f3657c151f 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -870,7 +870,8 @@ setup-default-fontset (#x1F780 . #x1F7FF) ;; Geometric Shapes Extended (#x1F800 . #x1F8FF) ;; Supplemental Arrows-C (#x1F900 . #x1F9FF) ;; Supplemental Symbols and Pictographs - (#x1FA00 . #x1FA6F))) ;; Chess Symbols + (#x1FA00 . #x1FA6F) ;; Chess Symbols + (#x1FA70 . #x1FAFF))) ;; Symbols and Pictographs Extended-A (set-fontset-font "fontset-default" symbol-subgroup '("Symbola" . "iso10646-1") nil 'prepend)) ;; Box Drawing and Block Elements -- 2.26.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (Will followup with an updated patch as soon as I get a bug number.) FWIW, I found out about this block after - hearing that Unicode 13.0 included new emojis, - waiting for an updated version of Symbola to be released[4], - trying to insert some of the new emojis in Emacs, - noticing that some of them (e.g. =F0=9F=A9=B4 U+1FA74, =F0=9F=AA=97 U+1FA= 97, =F0=9F=AB=95 U+1FAD5) are not displayed (C-u C-x =3D says "display: no font available", despite Symbola covering them). - going straight to fontset.el to understand why Symbola wasn't picked automatically. Of course, users can work around this with: (set-fontset-font t '(#x1FA70 . #x1FAFF) "Symbola" nil 'append) Thank you for your time. [1] https://www.unicode.org/charts/PDF/Unicode-13.0/U130-1FA70.pdf [2] https://en.wikipedia.org/wiki/Symbols_and_Pictographs_Extended-A [3] https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/Symbola.pdf p.14 [4] https://dn-works.com/ufas/ In GNU Emacs 28.0.50 (build 32, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, = cairo version 1.16.0) of 2020-05-30 built on my-little-tumbleweed Repository revision: 780f674a82a90c4e3e32583059b498bfa57e4a06 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: openSUSE Tumbleweed Configured using: 'configure --with-xwidgets --with-cairo' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dlocal locale-coding-system: utf-8-unix --=-=-=--