GNU bug report logs - #15420
24.3; Symbols like 🚴 (U+1F6B4) are not displayed by default

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mike FABIAN <maiku.fabian@HIDDEN>; dated Thu, 19 Sep 2013 15:45:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Sep 2013 15:44:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 19 11:44:54 2013
Received: from localhost ([127.0.0.1]:49392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VMgPU-0003pk-L3
	for submit <at> debbugs.gnu.org; Thu, 19 Sep 2013 11:44:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36483)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <maiku.fabian@HIDDEN>) id 1VMelM-0001Ac-TO
 for submit <at> debbugs.gnu.org; Thu, 19 Sep 2013 09:59:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maiku.fabian@HIDDEN>) id 1VMelC-0005tW-9J
 for submit <at> debbugs.gnu.org; Thu, 19 Sep 2013 09:59:15 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:48006)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <maiku.fabian@HIDDEN>) id 1VMelC-0005tS-5q
 for submit <at> debbugs.gnu.org; Thu, 19 Sep 2013 09:59:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38134)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <maiku.fabian@HIDDEN>) id 1VMel6-0005p8-N9
 for bug-gnu-emacs@HIDDEN; Thu, 19 Sep 2013 09:59:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maiku.fabian@HIDDEN>) id 1VMel1-0005rv-B8
 for bug-gnu-emacs@HIDDEN; Thu, 19 Sep 2013 09:59:04 -0400
Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:38572)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <maiku.fabian@HIDDEN>) id 1VMel0-0005rr-Vy
 for bug-gnu-emacs@HIDDEN; Thu, 19 Sep 2013 09:58:59 -0400
Received: by mail-ea0-f175.google.com with SMTP id m14so4167582eaj.6
 for <bug-gnu-emacs@HIDDEN>; Thu, 19 Sep 2013 06:58:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type
 :content-transfer-encoding;
 bh=hIiYjgwNLtZFDB9454L/7eJzEB3Uzx9S6hTrziXL7iE=;
 b=JZ3seYMbxlfaqzP62XR17AfAlocyfiD7K94uTHBfFW1PQ12QT2aR+DpzSYp6fxzKzi
 J9PSuQ5Z5vSGsmQ0h2VITrvRXUpzg4R4aRVTIGAQ62LbVywLSBP3chqKyJi2azcvq8oH
 1mpp+eG3Ll8gIPiB0esOFhQeQBcPQxtJS53eSWWdLaeCGCuxR5S9enGCdhtdJiKKnCJE
 oYMYj6lzDl8PzyWSA2iO/TBPK18c5f4jQCuviIaCO1jVtBxtvyCota2ghV4cfjn53C6Q
 9VrY5mxTaJ88FCym3caUJq5EdcLP7pSUBF5+1DSK8rLCMgLO2F2xwauF1D9CCE1QGgZ1
 yjFQ==
X-Received: by 10.14.22.8 with SMTP id s8mr1147909ees.108.1379599137753;
 Thu, 19 Sep 2013 06:58:57 -0700 (PDT)
Received: from ari.site (ppp-88-217-46-206.dynamic.mnet-online.de.
 [88.217.46.206])
 by mx.google.com with ESMTPSA id r48sm11505616eev.14.1969.12.31.16.00.00
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Thu, 19 Sep 2013 06:58:57 -0700 (PDT)
Received: from ari.site (localhost [127.0.0.1])
 by ari.site (Postfix) with ESMTP id 55C1061A5C
 for <bug-gnu-emacs@HIDDEN>; Thu, 19 Sep 2013 15:58:55 +0200 (CEST)
From: Mike FABIAN <maiku.fabian@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3; Symbols like =?utf-8?Q?=F0=9F=9A=B4?= (U+1F6B4) are not
 displayed by default
Date: Thu, 19 Sep 2013 15:58:55 +0200
Message-ID: <s9deh8kvrog.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 19 Sep 2013 11:44:51 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

After emacs -Q, try to load a file containing

=F0=9F=9A=B2 U+1F6B2 BICYCLE
=F0=9F=9A=B4 U+1F6B4 BICYCLIST
=F0=93=80=80 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 =F0=9F=9A=B2 U+1F6B2 BICYCLE and =F0=9F=9A=B4 U+1F6B4 BICYCLIST and
"Noto Sans Egyptian Hieroglyphs" from Google has =F0=93=80=80 U+13000 EGYPT=
IAN
HIEROGLYPH A001.

Instead boxes showing the codepoints are displayed.

A patch like the following to fontset.el can make this
work by default:

commit 41fbdec67af4ea0dd2261c31554a5882e5cc4db6
Author: Mike FABIAN <mfabian@HIDDEN>
Date:   Tue Sep 17 18:41:50 2013 +0200

    Display symbols like =F0=9F=9A=B4 U+1F6B4 BICYCLIST and Egyptian Hierog=
lyphs correctly by default

diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 2e15c43..25e575d 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -653,6 +653,10 @@
                    '("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 I am not sure whether this patch is the right way to do it.
Because it seems strange having to hardcode the font
names "Symbola" and "Noto Sans Egyptian Hieroglyphs".

Is there any other way to do it?

Isn=E2=80=99t it possible to make glyphs for such symbols display correctly=
 by
default if *any* font containing these symbols is installed on
the system? How?

----------------------------------------------------------------------
In GNU Emacs 24.3.9 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.4)
 of 2013-09-18 on ari.site
Windowing system distributor `Fedora Project', version 11.0.11402000
System Description:	Fedora release 19 (Schr=C3=B6dinger=E2=80=99s Cat)

Configured using:
 `configure '--prefix=3D/packages/stow/emacs-24.3.20130917''

Important settings:
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x m a i <tab> <tab> <tab> <tab> <return> m i k e=20
. f a b i a n @ g m x . d e C-n t e s s t <backspace>=20
<backspace> t C-n C-n t e s t C-x C-s C-g <up> <up>=20
<up> <up> <right> <right> <right> <right> <right> <right>=20
<right> <right> <right> <right> <right> <right> <right>=20
<right> <right> <right> <right> <right> <right> <right>=20
<right> <right> <right> r e d h a t . c o m C-d C-d=20
C-d C-d C-d C-d C-d C-d C-x C-s C-g C-c C-c / <help-echo>=20
<down-mouse-1> <mouse-1> <backspace> s m t p <return>=20
l o c a l h o s t <return> <help-echo> <down-mouse-1>=20
<mouse-1> M-x r e p o r t <tab> <return> <help-echo>=20
<down-mouse-1> <mouse-1> <down-mouse-2> <mouse-2> <left>=20
S y m b o l s l <backspace> SPC l i k e SPC C-e SPC=20
U + <help-echo> <left> <left> ( C-e 1 F 6 B 4 ) SPC=20
a n d SPC E g y p t i o n <backspace> <backspace> a=20
n SPC H i e r o g l y p h s , SPC e . g . SPC M-x M-x=20
<up> <return>

Recent messages:
Sending...
Setting `send-mail-function' temporarily since "emacs -q" would overwrite c=
ustomizations
Setting `smtpmail-smtp-server' temporarily since "emacs -q" would overwrite=
 customizations
Setting `smtpmail-smtp-service' temporarily since "emacs -q" would overwrit=
e customizations
Sending email=20
Sending email done
Sending...done
completing-read-default: Command attempted to use minibuffer while in minib=
uffer
Quit
user-error: End of history; no default available

Load-path shadows:
None found.

Features:
(shadow sort emacsbug network-stream starttls tls message format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader mail-extr smtpmail auth-source eieio
byte-opt bytecomp byte-compile cconv gnus-util password-cache cus-edit
cus-start cus-load wid-edit mailalias sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu time-date
japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

--=20
Mike FABIAN <mfabian@HIDDEN>
=E2=98=8F Office: +49-69-365051027, internal 8875027
=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




Acknowledgement sent to Mike FABIAN <maiku.fabian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15420; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.