From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mike FABIAN Newsgroups: gmane.emacs.bugs Subject: bug#15420: 24.3; Symbols like =?UTF-8?Q?=F0=9F=9A=B4?= (U+1F6B4) are not displayed by default Date: Thu, 15 Aug 2019 11:25:09 +0200 Organization: Tomorrow we've got to get organized Message-ID: References: <87ftm33xik.fsf@mouse.gnus.org> <8736i2iyzz.fsf@gmx.net> Reply-To: Mike FABIAN Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="150105"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 15420@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 11:26:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyC1M-000csU-25 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 11:26:12 +0200 Original-Received: from localhost ([::1]:39922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyC1K-0008U3-Hc for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 05:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45086) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyC1E-0008Tx-5B for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 05:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyC1C-0005mr-Hr for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 05:26:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyC1C-0005mh-Bf for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 05:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyC1C-0006ZE-6b for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike FABIAN Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Aug 2019 09:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15420 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 15420-submit@debbugs.gnu.org id=B15420.156586112025199 (code B ref 15420); Thu, 15 Aug 2019 09:26:02 +0000 Original-Received: (at 15420) by debbugs.gnu.org; 15 Aug 2019 09:25:20 +0000 Original-Received: from localhost ([127.0.0.1]:50659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyC0V-0006YN-LC for submit@debbugs.gnu.org; Thu, 15 Aug 2019 05:25:19 -0400 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:37416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyC0T-0006Y7-3D for 15420@debbugs.gnu.org; Thu, 15 Aug 2019 05:25:17 -0400 Original-Received: by mail-wr1-f47.google.com with SMTP id z11so1652982wrt.4 for <15420@debbugs.gnu.org>; Thu, 15 Aug 2019 02:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:reply-to:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=yOfWZm1+++hacvVkZ6fPoVv86XPYAkt/TDG+3l8Ys0U=; b=D/5TV3K2h3LqKxmYxhxz9Exc+qT5eh5eqIzUqSeS3PqoiUcMVk4+Ub4Vmbk4uNtyPg kEVAG0nlV51uKzPlW1+L+fMHMA9rVPQp6VvTDy0xGtRLsGGIxg2HHL+PPfp73VRQ+PFV z0j2t1Rr0IEr6/pjLY3QqoMflP4jdQk7VR0HSQCZteOIoNKlIpXuIv2NYoVV0snV8Hux R/rCIEH3k3gTZ0nASe6o7qzA3Zmoj1u10JufKMVjPtmqCm1hMEjBW/qQ7VYLhumCgTqN FEBlMYPQI2F3OaEqHpCSxAdAtxFNogan6xTgYsmd3TWsUYI30VDsf+79C5kpFJb0JPV8 fjsQ== 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 :reply-to:date:in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=yOfWZm1+++hacvVkZ6fPoVv86XPYAkt/TDG+3l8Ys0U=; b=eRvT9D4W9LXXlEdrIPCtwKQ/sJn84Q89uQJ3CaWbesKIzywXmLw37Exn1VfeTTZ9Ba BbwN+8gJ5FCwNxmhWK3UbV37Nshotcl29Ma81C0qCXUQlv3kA/uIz/0ivCvn8pAghyGm eQKdAf/IEEBKWV3M5yDJ/TPpbKBfcMD7LzJOgEDvr6LFil5AV1y7z2LEq9YFDXLtBxPm tj6y2AgDSOBrpDSmL3LUxtybZYTmhzz6x+zYq0/3KuvSqUqS1C4v2nUfWpMQoLq84MJp GWHWiKcb4DN0lHF0+eXu+vDwmg0LDIWPoc6zgbWditS7JeKcsLULhO/Fg0zUsRmbECkl p1qQ== X-Gm-Message-State: APjAAAXgt8+V+TiJpM+8o2czAK1sHEdtqSA+fmbQPxt4AMd5+v7UfF+l /8VgV2wEHM9UCoSd3T7w+7vg3p3K X-Google-Smtp-Source: APXvYqwfz9DNUQ9Z7Uve9unzr7fLEJ6fn4unPdAp7c5esz8gnV5hayn2qP56CmyzBSywz+beqX0RWg== X-Received: by 2002:adf:ec0d:: with SMTP id x13mr4534562wrn.240.1565861110920; Thu, 15 Aug 2019 02:25:10 -0700 (PDT) Original-Received: from ari.site (ppp-46-244-220-20.dynamic.mnet-online.de. [46.244.220.20]) by smtp.gmail.com with ESMTPSA id f12sm2493468wrg.5.2019.08.15.02.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2019 02:25:10 -0700 (PDT) Original-Received: from ari.site (localhost [IPv6:::1]) by ari.site (Postfix) with ESMTP id 2941B6013E; Thu, 15 Aug 2019 11:25:09 +0200 (CEST) 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> (Stephen Berman's message of "Thu, 15 Aug 2019 11:01:04 +0200") 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165076 Archived-At: Stephen Berman さんは書きました: > On Wed, 14 Aug 2019 20:42:11 -0700 Lars Ingebrigtsen wrote: > >> Mike FABIAN writes: >> >>> After emacs -Q, try to load a file containing >>> >>> 🚲 U+1F6B2 BICYCLE >>> 🚴 U+1F6B4 BICYCLIST >>> 𓀀 U+13000 EGYPTIAN HIEROGLYPH A001 >>> >>> Glyhps for these characters are not displayed by default, >>> even when fonts with these glyphs are installed. >>> >>> For example "Symbola" by George Douros (http://users.teilar.gr/~g1951d/) >>> has 🚲 U+1F6B2 BICYCLE and 🚴 U+1F6B4 BICYCLIST and >>> "Noto Sans Egyptian Hieroglyphs" from Google has 𓀀 U+13000 EGYPTIAN >>> HIEROGLYPH A001. >>> >>> Instead boxes showing the codepoints are displayed. >> >> (I'm going through old bug reports that have unfortunately gotten no >> responses yet.) >> >> I tried reproducing this in Emacs 27 (under Linux). I installed the >> Symbola fonts and started an Emacs, and it displayed the bicycle >> characters without any problems, so I'm unable to reproduce this bug. >> >> Are you still seeing it, or has it been fixed during the intervening >> years? > > I have both the Symbola and Aegyptus fonts installed; when I run emacs > with -Q, only the bicycle and bicyclist characters are correctly > displayed, the Egyptian hieroglyph is displayed as a hex box. But when > I then set the default font (e.g. via the Options menu) to Aegyptus > Regular, all three characters are correctly displayed. So the installed > Symbola fonts are found by default, but not the installed Aegyptus > fonts. > > Steve Berman For years I did build with my little extra patch on top of git master, like this: commit 258c86a974f788a33a019a082473781a2a603043 Author: Mike FABIAN Date: Tue Sep 17 18:41:50 2013 +0200 Display some symbols correctly by default For example display U+1F6B4 BICYCLIST and Egyptian Hieroglyphs correctly by default. diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 0413646dfb3..bba5c58c79a 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -912,6 +912,10 @@ setup-default-fontset '("gnu-unifont" . "iso10646-1") nil 'prepend) (set-fontset-font "fontset-default" nil '("mutt-clearlyu" . "iso10646-1") nil 'prepend) + (set-fontset-font "fontset-default" nil + '("Symbola" . "iso10646-1") nil 'prepend) + (set-fontset-font "fontset-default" nil + '("Noto Sans Egyptian Hieroglyphs" . "iso10646-1") nil 'prepend) (set-fontset-font "fontset-default" '(#x20000 . #x2FFFF) '(nil . "unicode-sip")) But now I tried again with current master without that patch and it worked. Symbola was used for the bicycles and "Noto Sans Egyption Hieroglyphs" for the hieroglyph even without my patch. So something seems to have been fixed. -- 📧 Mike FABIAN 睡眠不足はいい仕事の敵だ。