From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jun 2015 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20727@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143335217932423 (code B ref -1); Wed, 03 Jun 2015 17:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2015 17:22:59 +0000 Received: from localhost ([127.0.0.1]:39288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0CNW-0008Qr-3S for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41678) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0CNT-0008Qb-4I for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0CNM-0003SS-9e for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:49 -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, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0CNM-0003SL-6D for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0CNJ-00025f-UW for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 13:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0CNI-0003Pz-8C for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 13:22:45 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:33011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0CNH-0003PK-V9 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 13:22:44 -0400 Received: by wiwd19 with SMTP id d19so60284721wiw.0 for ; Wed, 03 Jun 2015 10:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hmqtASKNiJRGNgg2g0s3X9Us7rC2WAh2u8ZkLaXrD7o=; b=gtfYQlVSVbtUY8tdHwk3WSH/aJDGwnnV9GVvjQ/E7/rb623E5PHwNnI9zELr5RQXIC e9llQmSHcJdBwClJeSylj5fQ0BZyODJqzKUa8g0ujC8KOvUpY7C/BEGxsXQXTyl8rqfW OtyDq00qfYDe7c2O1j/vhuIO8XtHByC5r6kvo/ZzjOgZCPjj0dDvm+zyzUMWuN+Q6ujq +L7EmQYwAWKF6H4yTsBr47F2/bZjVaaJR09rL2Bifvdr9aTLiKsd5zyZXksFZf0WrqbZ ZjFRl/XPwXI71faFrYlzv80XwXRXoUk4lbZaESlwR9moCUH8lOZ+Qri0kGfchYe5g2bO NPew== MIME-Version: 1.0 X-Received: by 10.194.178.201 with SMTP id da9mr53704538wjc.139.1433352162341; Wed, 03 Jun 2015 10:22:42 -0700 (PDT) Received: by 10.28.225.66 with HTTP; Wed, 3 Jun 2015 10:22:42 -0700 (PDT) Date: Wed, 3 Jun 2015 19:22:42 +0200 Message-ID: From: Vasilij Schneidermann Content-Type: multipart/alternative; boundary=089e013d152279798e0517a04e1e 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e013d152279798e0517a04e1e Content-Type: text/plain; charset=UTF-8 I did install the Symbola font to be able to display glyphs for code points in the Emoji range which works for applications like my browser, however Emacs isn't able of displaying these glyphs despite that measure. To reproduce the issue on a Linux system, it's sufficient to have the Symbola font installed and with a default font different from it to insert a character like PILE OF POO with C-x 8 RET which yields a rectangle with numbers in it. Temporarily switching the default font to Symbola with M-x set-frame-font is one possible workaround to display the glyph, another one is modifying the default fontset to explicitly make use of that font for the Emoji range: (set-fontset-font "fontset-default" nil "Symbola" (selected-frame) 'append) I find this behaviour sort of puzzling as inspection of a buffer as produced with M-x view-hello-file and M-x describe-char on the various scripts confirms that Emacs managed choosing suitable fallback fonts for scripts not covered by my default font. Can someone enlighten me to what exactly is going on here? In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify 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 prog-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 nadvice 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 70978 6876) (symbols 48 17559 0) (miscs 40 35 138) (strings 32 9044 4472) (string-bytes 1 248344) (vectors 16 8908) (vector-slots 8 383094 18351) (floats 8 63 213) (intervals 56 177 0) (buffers 960 11) (heap 1024 42438 899)) --089e013d152279798e0517a04e1e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I did install the Symbola font to be able to display glyph= s for code
points in the Emoji range which works for applications like m= y browser,
however Emacs isn't able of displaying these glyphs despi= te that
measure.=C2=A0 To reproduce the issue on a Linux system, it'= s sufficient to
have the Symbola font installed and with a default font = different from
it to insert a character like PILE OF POO with C-x 8 RET = which yields a
rectangle with numbers in it.=C2=A0 Temporarily switching= the default font
to Symbola with M-x set-frame-font is one possible wor= karound to display
the glyph, another one is modifying the default fonts= et to explicitly
make use of that font for the Emoji range:

=C2= =A0 =C2=A0 (set-fontset-font "fontset-default" nil "Symbola&= quot;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (selected-frame) 'append)

I find this behaviour sort = of puzzling as inspection of a buffer as
produced with M-x view-hello-fi= le and M-x describe-char on the various
scripts confirms that Emacs mana= ged choosing suitable fallback fonts for
scripts not covered by my defau= lt font.=C2=A0 Can someone enlighten me to
what exactly is going on here= ?



In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Versio= n 3.16.2)
=C2=A0of 2015-04-20 on = bitzer.hoetzel.info
Windowing system distributor `The X.Org Foundati= on', version 11.0.11701000
System Description: Arch Linux

Con= figured using:
=C2=A0`configure --prefix=3D/usr --sysconfdir=3D/etc --li= bexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolkit=3Dgtk3= --with-xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pi= pe -fstack-protector-strong
=C2=A0--param=3Dssp-buffer-size=3D4' CPP= FLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-common,--as= -needed,-z,relro'

Important settings:
=C2=A0 value of $LANG: = en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: L= isp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t
= =C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool= -bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t<= br>=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bl= ink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode:= t
=C2=A0 transient-mark-mode: t

Recent messages:
For informat= ion about GNU Emacs and the GNU system, type C-h C-a.

Load-path shad= ows:
None found.

Features:
(shadow sort gnus-util mail-extr em= acsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodi= es mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail= rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-= date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwhee= l x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-lis= t newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow time= r select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core f= rame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet= lao korean
japanese hebrew greek romanian slovak czech european ethiopi= c indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple = abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files<= br>text-properties overlay sha1 md5 base64 format env code-pages mule
cu= stom widget hashtable-print-readable backquote make-network-process
dbus= bind gfilenotify dynamic-setting system-font-setting
font-render-setting= move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:((conses 16 70978 6876)
=C2=A0(symbols 48 17559 0)
=C2=A0(miscs 40 = 35 138)
=C2=A0(strings 32 9044 4472)
=C2=A0(string-bytes 1 248344)=C2=A0(vectors 16 8908)
=C2=A0(vector-slots 8 383094 18351)
=C2=A0(f= loats 8 63 213)
=C2=A0(intervals 56 177 0)
=C2=A0(buffers 960 11)
= =C2=A0(heap 1024 42438 899))
--089e013d152279798e0517a04e1e-- From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jun 2015 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vasilij Schneidermann Cc: 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143335925510521 (code B ref 20727); Wed, 03 Jun 2015 19:21:02 +0000 Received: (at 20727) by debbugs.gnu.org; 3 Jun 2015 19:20:55 +0000 Received: from localhost ([127.0.0.1]:39318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0EDd-0002jc-Vo for submit@debbugs.gnu.org; Wed, 03 Jun 2015 15:20:55 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:42010) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0EDb-0002jL-Hg for 20727@debbugs.gnu.org; Wed, 03 Jun 2015 15:20:52 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NPD00J00UZZFX00@mtaout28.012.net.il> for 20727@debbugs.gnu.org; Wed, 03 Jun 2015 22:20:07 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPD00BT2V1JHV40@mtaout28.012.net.il>; Wed, 03 Jun 2015 22:20:07 +0300 (IDT) Date: Wed, 03 Jun 2015 22:20:36 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83k2vkr43f.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Wed, 3 Jun 2015 19:22:42 +0200 > From: Vasilij Schneidermann > > I did install the Symbola font to be able to display glyphs for code > points in the Emoji range which works for applications like my browser, > however Emacs isn't able of displaying these glyphs despite that > measure. To reproduce the issue on a Linux system, it's sufficient to > have the Symbola font installed and with a default font different from > it to insert a character like PILE OF POO with C-x 8 RET which yields a > rectangle with numbers in it. Temporarily switching the default font > to Symbola with M-x set-frame-font is one possible workaround to display > the glyph, another one is modifying the default fontset to explicitly > make use of that font for the Emoji range: > > (set-fontset-font "fontset-default" nil "Symbola" > (selected-frame) 'append) This usually means you have some other font installed that claims to cover the Emoji block, but doesn't actually cover this character. Try to find that font, and either uninstall it, or make it member of the list in face-ignored-fonts, or customize your fontset like you show above (there's nothing wrong with giving Emacs some help with the fonts you have). From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jun 2015 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143336355817383 (code B ref 20727); Wed, 03 Jun 2015 20:33:02 +0000 Received: (at 20727) by debbugs.gnu.org; 3 Jun 2015 20:32:38 +0000 Received: from localhost ([127.0.0.1]:39395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0FL3-0004WJ-6h for submit@debbugs.gnu.org; Wed, 03 Jun 2015 16:32:37 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:35866) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0FL0-0004W2-EN for 20727@debbugs.gnu.org; Wed, 03 Jun 2015 16:32:35 -0400 Received: by wibdq8 with SMTP id dq8so104110495wib.1 for <20727@debbugs.gnu.org>; Wed, 03 Jun 2015 13:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nKYA0iE5w3rqKWRhyWm1J08NyujMGMAPMAx+OhJfuNM=; b=D5JmDaAf5VSa88LDcb0whMPNFeOVPcpmA7gCj124lDs/rN16hJ11j2yRjfSVk/zg9X yeulYH1IpqVixa14p/P8KmgIGaah+uFRMXby8vCa82jsZGfYlSG3C4xonEAk+ppNnYbj jQPZqjEjNUJaHrBVm2Cv+hoBnZ98Gv12qI76kb2AqJaA9freltqcfxWXXrKEUq0nC5Mo kHqmd4655YAdvOMbuMyhUWiJclok+fLU068RW+/ASAmroHu5KXoEH5JGYIuYYnQMZ5UU QKFr8O+jq6q9EardpB7kRQ2SHZ5I2VOyzn6Y537c/ZOIN5qQ11uDLk2LO4WirgOi+yGO wbMA== MIME-Version: 1.0 X-Received: by 10.180.205.168 with SMTP id lh8mr972999wic.24.1433363548814; Wed, 03 Jun 2015 13:32:28 -0700 (PDT) Received: by 10.28.225.66 with HTTP; Wed, 3 Jun 2015 13:32:28 -0700 (PDT) Received: by 10.28.225.66 with HTTP; Wed, 3 Jun 2015 13:32:28 -0700 (PDT) In-Reply-To: <83k2vkr43f.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> Date: Wed, 3 Jun 2015 22:32:28 +0200 Message-ID: From: Vasilij Schneidermann Content-Type: multipart/alternative; boundary=001a11c38ace29418b0517a2f5d8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c38ace29418b0517a2f5d8 Content-Type: text/plain; charset=UTF-8 > This usually means you have some other font installed that claims to > cover the Emoji block, but doesn't actually cover this character. Try > to find that font, and either uninstall it, or make it member of the > list in face-ignored-fonts, or customize your fontset like you show > above (there's nothing wrong with giving Emacs some help with the > fonts you have). I did remove all user-installed fonts except Symbola to make sure it's just the X and PS core fonts, yet the issue is still present. Therefore I can't quite believe it to be linked to rogue fonts, another fact supporting my hypothesis would be that I'm far from the only person experiencing this. BTW, how does Emacs pick fonts for the scripts it encounters? --001a11c38ace29418b0517a2f5d8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> This usually means you have some other font installed t= hat claims to
> cover the Emoji block, but doesn't actually cover this character.= =C2=A0 Try
> to find that font, and either uninstall it, or make it member of the > list in face-ignored-fonts, or customize your fontset like you show > above (there's nothing wrong with giving Emacs some help with the<= br> > fonts you have).

I did remove all user-installed fonts except Symbola to make= sure it's just the X and PS core fonts, yet the issue is still present= . Therefore I can't quite believe it to be linked to rogue fonts, anoth= er fact supporting my hypothesis would be that I'm far from the only pe= rson experiencing this. BTW, how does Emacs pick fonts for the scripts it e= ncounters?

--001a11c38ace29418b0517a2f5d8-- From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2015 18:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14337005774453 (code B ref 20727); Sun, 07 Jun 2015 18:10:03 +0000 Received: (at 20727) by debbugs.gnu.org; 7 Jun 2015 18:09:37 +0000 Received: from localhost ([127.0.0.1]:44253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1f0r-00019l-8q for submit@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33395) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1f0p-00019X-MX for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1f0j-0002HI-MI for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:38523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1f0h-0002Gs-Qp; Sun, 07 Jun 2015 14:09:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Z1f0h-0006Cc-9b; Sun, 07 Jun 2015 14:09:27 -0400 From: Glenn Morris References: <83k2vkr43f.fsf@gnu.org> X-Spook: Comirex FARC Ricin Nerve agent Sonora MIT-LL oil BCCI X-Ran: a;2fP%;R9HjoDN]$Qa_lK@)BAaLyq-[k-%g9}qko4r'4ip+kih2?e/nXLv0]C9m[ON!k_Y X-Hue: white X-Attribution: GM Date: Sun, 07 Jun 2015 14:09:27 -0400 In-Reply-To: <83k2vkr43f.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 Jun 2015 22:20:36 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) FWIW, I see the same as the OP on two different systems. Eli Zaretskii wrote: > This usually means you have some other font installed that claims to > cover the Emoji block, but doesn't actually cover this character. Is there a way to test that? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 07 14:09:44 2015 Received: (at control) by debbugs.gnu.org; 7 Jun 2015 18:09:44 +0000 Received: from localhost ([127.0.0.1]:44256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1f0x-0001A3-KU for submit@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33423) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1f0v-00019j-Ir for control@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1f0p-0002Is-Rr for control@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:38526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1f0p-0002Io-OZ for control@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:35 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Z1f0p-0006DA-Ds for control@debbugs.gnu.org; Sun, 07 Jun 2015 14:09:35 -0400 Subject: control message for bug 20727 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sun, 07 Jun 2015 14:09:35 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 20727 confirmed From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2015 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Glenn Morris Cc: v.schneidermann@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143370500328063 (code B ref 20727); Sun, 07 Jun 2015 19:24:02 +0000 Received: (at 20727) by debbugs.gnu.org; 7 Jun 2015 19:23:23 +0000 Received: from localhost ([127.0.0.1]:44320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1gAE-0007IX-LV for submit@debbugs.gnu.org; Sun, 07 Jun 2015 15:23:23 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:52074) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1gAC-0007ID-2I for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 15:23:21 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPL004009UK5400@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 22:23:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPL003L99UPSOB0@a-mtaout20.012.net.il>; Sun, 07 Jun 2015 22:23:13 +0300 (IDT) Date: Sun, 07 Jun 2015 22:22:58 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83616zmigd.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org > Date: Sun, 07 Jun 2015 14:09:27 -0400 > > FWIW, I see the same as the OP on two different systems. > > Eli Zaretskii wrote: > > > This usually means you have some other font installed that claims to > > cover the Emoji block, but doesn't actually cover this character. > > Is there a way to test that? Try setting font-log to nil, and then look at its value after typing the character. The log is quite cryptic, but it does list the fonts. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 00:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143372256421533 (code B ref 20727); Mon, 08 Jun 2015 00:17:02 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 00:16:04 +0000 Received: from localhost ([127.0.0.1]:44383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1kjU-0005bF-5d for submit@debbugs.gnu.org; Sun, 07 Jun 2015 20:16:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57074) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1kjS-0005ag-Ow for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 20:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1kjM-0005Hv-0a for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 20:15:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1kjL-0005Hr-TY; Sun, 07 Jun 2015 20:15:55 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Z1kjL-0007G2-Bx; Sun, 07 Jun 2015 20:15:55 -0400 From: Glenn Morris References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> X-Spook: Pandemic chameleon man DEA Suspicious device AMW Noriega X-Ran: dC$rhpHg*2jkr,$r2>:7WlulPI)(3imDAH"LQ#!i6$%omgNO_c(vk0aY1t_eEMVQMGjT;# X-Hue: green X-Attribution: GM Date: Sun, 07 Jun 2015 20:15:55 -0400 In-Reply-To: <83616zmigd.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Jun 2015 22:22:58 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Using the unpleasant example character from the initial report, here are what seem to be the relevant font-log entries: (open "-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1:script=symbol" "xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-13-*-m-0-iso10646-1") (sort-by "-*-normal-normal-normal-*-13-*" "xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1") (list "-unknown-DejaVu Sans Mono-*-i-isoso1010646-1:script=symbol" ["-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1" "-unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1" "-unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1" "-unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1"]) (xfont-list "-unknown-DejaVu Sans Mono-*-*-*-*-*-*-*-*-*-*-iso10646-1" nil) (ftfont-list "-unknown-DejaVu Sans Mono-*-iso10646-1:script=symbol" ("-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1" "-unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1" "-unknown-DejaVu Sans Mono-normal-oblique-normal-*-m-0-iso10646-1" "-unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-bold-oblique-normal-*-m-0-isoso1010646-1" "-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1")) (default\ fontset:\ font\ for 128169 nil) From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 02:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Glenn Morris Cc: v.schneidermann@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14337313872514 (code B ref 20727); Mon, 08 Jun 2015 02:44:02 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 02:43:07 +0000 Received: from localhost ([127.0.0.1]:44472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1n1m-0000eT-JQ for submit@debbugs.gnu.org; Sun, 07 Jun 2015 22:43:06 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:50317) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1n1j-0000dx-BF for 20727@debbugs.gnu.org; Sun, 07 Jun 2015 22:43:05 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NPL00700TZL8Z00@mtaout28.012.net.il> for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 05:42:31 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPL0036ZU6VXJ50@mtaout28.012.net.il>; Mon, 08 Jun 2015 05:42:31 +0300 (IDT) Date: Mon, 08 Jun 2015 05:42:41 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <833822ncny.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: 20727@debbugs.gnu.org, v.schneidermann@gmail.com > Date: Sun, 07 Jun 2015 20:15:55 -0400 > > Using the unpleasant example character from the initial report, here are > what seem to be the relevant font-log entries: > > > (open "-unknown-DejaVu Sans Mono-normal-normal-normal-*-m-0-iso10646-1:script=symbol" "xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-13-*-m-0-iso10646-1") The "open" entry means Emacs decided to use that font. Does "DejaVu Sans Mono" have glyphs for those characters? From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 05:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: Glenn Morris , 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143374219420247 (code B ref 20727); Mon, 08 Jun 2015 05:44:01 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 05:43:14 +0000 Received: from localhost ([127.0.0.1]:44525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1pq5-0005GU-LC for submit@debbugs.gnu.org; Mon, 08 Jun 2015 01:43:13 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:37725) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1pq3-0005GH-9i for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 01:43:11 -0400 Received: by wifx6 with SMTP id x6so73561680wif.0 for <20727@debbugs.gnu.org>; Sun, 07 Jun 2015 22:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=1ZEpBRv6UgM192MiSYvRuN3nkugz7U19MZUs1Xe0Sio=; b=exieJr7iZN1uwlfhHg83uXpSC78uCQtNWPrF5iWw95v+IEmk1ZLqWLAHqyQIYlbOwD ydYyYJg0Lsf+wCWRF+AWCL7EfhOErv72BxRmIFMmAC6MVX9W7dTIizcQvo/L01fV8MZg Iv/SWFuaIFz8SPinqCj3ArzmhUdqrrKeK6FbIrDscDL1f1vN3RYoJ7PLSj2+IG+rSucf 4J0+/962nYHSwBoplnuEAxmKVhp4qu7xjoi7SjcCYyRwDDJYwQbb0zc0CiTbnYJMtBTd mDEDUidAeVOTJfQUS2IM8c+NN0i8SUh8nGAZSRVGCFS5dYHsWd+NQpnjOJk3HeH/rlIb Jyzg== X-Received: by 10.181.11.229 with SMTP id el5mr18713787wid.40.1433742185462; Sun, 07 Jun 2015 22:43:05 -0700 (PDT) Received: from localhost (xdsl-78-34-238-14.netcologne.de. [78.34.238.14]) by mx.google.com with ESMTPSA id be3sm6512309wib.21.2015.06.07.22.43.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Jun 2015 22:43:04 -0700 (PDT) Date: Mon, 8 Jun 2015 07:43:04 +0200 From: Vasilij Schneidermann Message-ID: <20150608054304.GA518@odonien> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <833822ncny.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > The "open" entry means Emacs decided to use that font. Does "DejaVu > Sans Mono" have glyphs for those characters? I use `gucharmap` to look up glyphs in fonts, you can find it with C-f by its name. Selecting "DejaVu Sans Mono" as font and the "Show only glyphs from this font" option from the "View" menu confirms that this font doesn't have a glyph for it. What struck me as odd however is that Emacs appears to select glyphs by script and that there's no "Symbol" script in this font viewer (or more likely, not in Unicode at all). Perhaps here lies the problem. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Vasilij Schneidermann Cc: rgm@gnu.org, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143377393421142 (code B ref 20727); Mon, 08 Jun 2015 14:33:02 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 14:32:14 +0000 Received: from localhost ([127.0.0.1]:45308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1y5y-0005Um-JO for submit@debbugs.gnu.org; Mon, 08 Jun 2015 10:32:14 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:47108) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1y5r-0005U6-Tw for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 10:32:08 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NPM00L00QXWD200@mtaout26.012.net.il> for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 17:32:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPM00E7GR2MWV80@mtaout26.012.net.il>; Mon, 08 Jun 2015 17:32:47 +0300 (IDT) Date: Mon, 08 Jun 2015 17:30:25 +0300 From: Eli Zaretskii In-reply-to: <20150608054304.GA518@odonien> X-012-Sender: halo1@inter.net.il Message-id: <83y4jul1by.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 8 Jun 2015 07:43:04 +0200 > From: Vasilij Schneidermann > Cc: Glenn Morris , 20727@debbugs.gnu.org > > > The "open" entry means Emacs decided to use that font. Does "DejaVu > > Sans Mono" have glyphs for those characters? > > I use `gucharmap` to look up glyphs in fonts, you can find it with C-f > by its name. Selecting "DejaVu Sans Mono" as font and the "Show only > glyphs from this font" option from the "View" menu confirms that this > font doesn't have a glyph for it. Does the full value of font-log suggest that Emacs even tried to consider the Symbola font at some point? My reading of the code seems to indicate that Emacs won't try any font that's not in the fontset, for characters that don't have a charset ID (which is what happens with symbols, see below). > What struck me as odd however is that Emacs appears to select glyphs by > script and that there's no "Symbol" script in this font viewer (or more > likely, not in Unicode at all). Perhaps here lies the problem. There's elaborate setup in fontset.el for selecting fonts by script, so the fact that HELLO displays correctly is not a miracle. Moreover, for characters that belong to known charsets -- something that happens for every letter in some language or script -- Emacs queries available fonts by charset, so it can find fonts that are not in the fontset, I think. However 'symbol' is not a script nor a charset; Emacs conflates into that pseudo-script all the Unicode blocks that define symbols of some kind, for which the OTF spec does not define a script tag (for the list of tags see https://www.microsoft.com/typography/otspec/scripttags.htm). We can also look up fonts by family, registry, and charset, but none of this helps with symbols, like it does with "real" scripts and character sets. So I think we pretty much depend on the fonts in the default fontset for supporting symbols in general and Emoji in particular. Therefore, I think we should augment the default fontset to include good fonts for symbols for which the "usual" fonts rarely if ever contain glyphs. The problem is that most such fonts are not free. Is Symbola free? There's GNU Unifont, which is free, and is already in the default fontset, but IMO many of its glyphs are really of low quality. Do you have that installed? I'm guessing not. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143377517322966 (code B ref 20727); Mon, 08 Jun 2015 14:53:02 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 14:52:53 +0000 Received: from localhost ([127.0.0.1]:45321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1yQ0-0005yL-7L for submit@debbugs.gnu.org; Mon, 08 Jun 2015 10:52:52 -0400 Received: from cantor2.suse.de ([195.135.220.15]:59828 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1yPx-0005yD-IY for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 10:52:50 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9C959ABB1; Mon, 8 Jun 2015 14:52:48 +0000 (UTC) From: Andreas Schwab References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> X-Yow: Just imagine you're entering a state-of-the-art CAR WASH!! Date: Mon, 08 Jun 2015 16:52:48 +0200 In-Reply-To: <83y4jul1by.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Jun 2015 17:30:25 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Eli Zaretskii writes: > The problem is that most such fonts are not free. Is Symbola free? http://users.teilar.gr/~g1951d/ "free for any use" Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14337793982491 (code B ref 20727); Mon, 08 Jun 2015 16:04:01 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 16:03:18 +0000 Received: from localhost ([127.0.0.1]:45386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1zW6-0000bg-7O for submit@debbugs.gnu.org; Mon, 08 Jun 2015 12:03:18 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:38584) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1zVz-0000Vi-Tn for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 12:03:12 -0400 Received: by wibdq8 with SMTP id dq8so90549401wib.1 for <20727@debbugs.gnu.org>; Mon, 08 Jun 2015 09:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=resent-from:resent-date:resent-message-id:resent-to:date:from:to :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=pcJN92/MGswAw4SF/eD3dEL4Nv0g+Bo3S2zxdxZ9lbE=; b=NwCrQdQ9rxIbE89A+AIcwph7PXYM5CFCXzhBbHZ7mhofHQFa30aWQF4LA/yxR/8YYm 9m9Qr/y4Ft0xApxN/oekAL73ZUONNbIq6DFMOeh5vQHq/z6TJhthtl1l9ZbZOE6YtuVp yBI11z6QSrSSlQWMYhrsX7L7V+GgoQnTSSjLvgGp0VaTBuVnmKHdxa+2tNHBeMV+RIgE WISp3EIKoy8dwolDouwCZApK4ozCUHB7PioH4FMVxx8YhHqWy3vp3+Iru+7frEBZT/GX l08Ka7w5tXKKBZgn9A7uU0xG00l4hTxQyBfDUCDDvBTOQJhMVLc8gh9d+gJr4r4WmX4Q OABQ== X-Received: by 10.180.86.198 with SMTP id r6mr23764353wiz.70.1433779382145; Mon, 08 Jun 2015 09:03:02 -0700 (PDT) Received: from localhost ([2001:470:7860:11e0:21f:16ff:fe2e:5218]) by mx.google.com with ESMTPSA id ei8sm4990160wjd.32.2015.06.08.09.03.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2015 09:03:02 -0700 (PDT) Resent-From: Vasilij Schneidermann Resent-Date: Mon, 8 Jun 2015 18:03:01 +0200 Resent-Message-ID: <20150608160301.GB9496@odonien.bevuta.com> Resent-To: rgm@gnu.org, 20727@debbugs.gnu.org Received: from localhost ([2001:470:7860:11e0:21f:16ff:fe2e:5218]) by mx.google.com with ESMTPSA id nb9sm1702661wic.10.2015.06.08.08.59.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jun 2015 08:59:57 -0700 (PDT) Date: Mon, 8 Jun 2015 17:59:56 +0200 From: Vasilij Schneidermann Message-ID: <20150608155956.GA9496@odonien.bevuta.com> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <83y4jul1by.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-TUID: /vD7Cem0E0JS X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > The problem is that most such fonts are not free. Is Symbola free? Symbola comes with a custom license, but is packaged with a GPL license on Debian in the ttf-ancient-fonts package[1]. Another alternative font would be Quivira[2] which spans a comparable amount of characters and is distributed under a custom license as well (which could be probably packaged in the same manner as Symbola). [1]: http://metadata.ftp-master.debian.org/changelogs//main/t/ttf-ancient-fonts/ttf-ancient-fonts_2.57-1_copyright [2]: http://www.quivira-font.com/ From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Andreas Schwab Cc: v.schneidermann@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143378681613535 (code B ref 20727); Mon, 08 Jun 2015 18:07:01 +0000 Received: (at 20727) by debbugs.gnu.org; 8 Jun 2015 18:06:56 +0000 Received: from localhost ([127.0.0.1]:45449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z21Ro-0003WE-5s for submit@debbugs.gnu.org; Mon, 08 Jun 2015 14:06:56 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:35862) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z21Rk-0003Vz-Ee for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 14:06:53 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPN00D000V9LZ00@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Mon, 08 Jun 2015 21:06:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPN00DDZ0Z9LU10@a-mtaout20.012.net.il>; Mon, 08 Jun 2015 21:06:45 +0300 (IDT) Date: Mon, 08 Jun 2015 21:06:31 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83oakqkrbs.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andreas Schwab > Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org > Date: Mon, 08 Jun 2015 16:52:48 +0200 > > Eli Zaretskii writes: > > > The problem is that most such fonts are not free. Is Symbola free? > > http://users.teilar.gr/~g1951d/ > "free for any use" Thanks, I pushed a change that I hope will improve the default fontset's coverage of the various symbol characters. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range In-Reply-To: Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2015 11:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: 20727@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14338505248363 (code B ref -1); Tue, 09 Jun 2015 11:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jun 2015 11:48:44 +0000 Received: from localhost ([127.0.0.1]:45807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2I1L-0002Ao-Qb for submit@debbugs.gnu.org; Tue, 09 Jun 2015 07:48:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59695) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2I1I-0002Aa-NA for submit@debbugs.gnu.org; Tue, 09 Jun 2015 07:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2I1C-0002NR-4t for submit@debbugs.gnu.org; Tue, 09 Jun 2015 07:48:35 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2I1C-0002NK-1M for submit@debbugs.gnu.org; Tue, 09 Jun 2015 07:48:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2I1A-0001E2-QK for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 07:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2I17-0002I1-FL for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 07:48:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:43111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2I17-0002H8-7n for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 07:48:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z2I13-0007Aw-AV for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 13:48:25 +0200 Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Jun 2015 13:48:25 +0200 Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Jun 2015 13:48:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Andy Moreton Date: Tue, 09 Jun 2015 12:48:16 +0100 Lines: 31 Message-ID: References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:+PPYrErlaqzd0MCVfa1qeDkHBA8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Mon 08 Jun 2015, Eli Zaretskii wrote: >> From: Andreas Schwab >> Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org >> Date: Mon, 08 Jun 2015 16:52:48 +0200 >> >> Eli Zaretskii writes: >> >> > The problem is that most such fonts are not free. Is Symbola free? >> >> http://users.teilar.gr/~g1951d/ >> "free for any use" > > Thanks, I pushed a change that I hope will improve the default > fontset's coverage of the various symbol characters. This has caused a regression for me on the mingw64 build of emacs. I use various box drawing characters in gnus to show threading, and these normally come from DejaVu Mono (the default font). After this change, Emacs uses Batang Che for the box drawing characters, unless I add code to reverse the effects of the patch. Can you please improve the patch to avoid overriding the default font with fonts that don't exist, or at least make it easier for the user to choose the fonts chosen for the symbol-subgroup and box drawing characters without copying the character ranges. AndyM From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2015 15:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Andy Moreton Cc: 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143386315127945 (code B ref 20727); Tue, 09 Jun 2015 15:20:04 +0000 Received: (at 20727) by debbugs.gnu.org; 9 Jun 2015 15:19:11 +0000 Received: from localhost ([127.0.0.1]:46379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2LJ0-0007Gf-El for submit@debbugs.gnu.org; Tue, 09 Jun 2015 11:19:10 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:39606) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2LIx-0007GD-Vp for 20727@debbugs.gnu.org; Tue, 09 Jun 2015 11:19:08 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPO00M00NQBK000@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Tue, 09 Jun 2015 18:17:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPO00MT6NT89QB0@a-mtaout20.012.net.il>; Tue, 09 Jun 2015 18:17:36 +0300 (IDT) Date: Tue, 09 Jun 2015 18:17:20 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83ioawud1b.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andy Moreton > Date: Tue, 09 Jun 2015 12:48:16 +0100 > > On Mon 08 Jun 2015, Eli Zaretskii wrote: > > >> From: Andreas Schwab > >> Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org > >> Date: Mon, 08 Jun 2015 16:52:48 +0200 > >> > >> Eli Zaretskii writes: > >> > >> > The problem is that most such fonts are not free. Is Symbola free? > >> > >> http://users.teilar.gr/~g1951d/ > >> "free for any use" > > > > Thanks, I pushed a change that I hope will improve the default > > fontset's coverage of the various symbol characters. > > This has caused a regression for me on the mingw64 build of emacs. > > I use various box drawing characters in gnus to show threading, and > these normally come from DejaVu Mono (the default font). > > After this change, Emacs uses Batang Che for the box drawing characters, > unless I add code to reverse the effects of the patch. Not sure how that happened: AFAIK, my change mentioned neither Batang Che nor DejaVu Mono. Do you have in your customizations some setup for fontsets that cover these characters? If so, could you please show these customizations? > Can you please improve the patch to avoid overriding the default font > with fonts that don't exist Maybe I'm missing something, but my patch didn't override the default font in any way that I'm aware of. In fact, Emacs doesn't (well, didn't until now, see below) consult the default font when it needs to display characters such as box drawing; it always searches for the proper font regardless of the coverage of the default font. At least that's AFAIU the code: this area in Emacs is notoriously under-documented. Anyway, I found and fixed an unintended consequence of my change, please try the latest master. Now, if the font used for ASCII face, which AFAIU is the same as the frame's default font, has a glyph for punctuation and other symbol characters, Emacs will use the default font, instead of searching for another font. > or at least make it easier for the user to choose the fonts chosen > for the symbol-subgroup and box drawing characters without copying > the character ranges. Not sure what that means; how did you choose your fonts until now? I think this again hints on some font-related customizations you did, in which case please show them. My changes targeted the users who don't do any fontset customizations and don't know how to do that; the assumption was that whoever does customize their fontsets can easily adapt. Is that wrong? From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range In-Reply-To: Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2015 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: 20727@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14338674221937 (code B ref -1); Tue, 09 Jun 2015 16:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jun 2015 16:30:22 +0000 Received: from localhost ([127.0.0.1]:46397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2MPt-0000V9-07 for submit@debbugs.gnu.org; Tue, 09 Jun 2015 12:30:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39216) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2MPp-0000Tz-E6 for submit@debbugs.gnu.org; Tue, 09 Jun 2015 12:30:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2MPg-0002Mf-Nm for submit@debbugs.gnu.org; Tue, 09 Jun 2015 12:30:12 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2MPg-0002MY-LQ for submit@debbugs.gnu.org; Tue, 09 Jun 2015 12:30:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2MPa-0000O9-Ht for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2MPS-00021W-I9 for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:30:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:38692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2MPS-00020R-CL for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 12:29:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z2MPP-0001t6-MU for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 18:29:52 +0200 Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Jun 2015 18:29:51 +0200 Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Jun 2015 18:29:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Andy Moreton Date: Tue, 09 Jun 2015 17:29:30 +0100 Lines: 84 Message-ID: References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> <83ioawud1b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:4TedmDj1eXnfZGMl2hdAJhBTOBY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Tue 09 Jun 2015, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Tue, 09 Jun 2015 12:48:16 +0100 >> >> On Mon 08 Jun 2015, Eli Zaretskii wrote: >> >> >> From: Andreas Schwab >> >> Cc: Vasilij Schneidermann , 20727@debbugs.gnu.org >> >> Date: Mon, 08 Jun 2015 16:52:48 +0200 >> >> >> >> Eli Zaretskii writes: >> >> >> >> > The problem is that most such fonts are not free. Is Symbola free? >> >> >> >> http://users.teilar.gr/~g1951d/ >> >> "free for any use" >> > >> > Thanks, I pushed a change that I hope will improve the default >> > fontset's coverage of the various symbol characters. >> >> This has caused a regression for me on the mingw64 build of emacs. >> >> I use various box drawing characters in gnus to show threading, and >> these normally come from DejaVu Mono (the default font). >> >> After this change, Emacs uses Batang Che for the box drawing characters, >> unless I add code to reverse the effects of the patch. > > Not sure how that happened: AFAIK, my change mentioned neither Batang > Che nor DejaVu Mono. Do you have in your customizations some setup > for fontsets that cover these characters? If so, could you please > show these customizations? All I have is to choose DejaVu Mono as the default font. Your changes made the defqault fontset choose Symbola and FreeMono for symbols and box drawing characters, but my system does not have thiose fonts, so it chose something else instead. >> Can you please improve the patch to avoid overriding the default font >> with fonts that don't exist > > Maybe I'm missing something, but my patch didn't override the default > font in any way that I'm aware of. In fact, Emacs doesn't (well, > didn't until now, see below) consult the default font when it needs to > display characters such as box drawing; it always searches for the > proper font regardless of the coverage of the default font. At least > that's AFAIU the code: this area in Emacs is notoriously > under-documented. > > Anyway, I found and fixed an unintended consequence of my change, > please try the latest master. Now, if the font used for ASCII face, > which AFAIU is the same as the frame's default font, has a glyph for > punctuation and other symbol characters, Emacs will use the default > font, instead of searching for another font. Thanks Eli, this changes restores the original behaviour. >> or at least make it easier for the user to choose the fonts chosen >> for the symbol-subgroup and box drawing characters without copying >> the character ranges. > > Not sure what that means; how did you choose your fonts until now? I > think this again hints on some font-related customizations you did, in > which case please show them. My changes targeted the users who don't > do any fontset customizations and don't know how to do that; the > assumption was that whoever does customize their fontsets can easily > adapt. Is that wrong? The only font-related customisation I have is: (set-face-attribute 'default nil :font "DejaVu Sans Mono-9") (set-face-attribute 'variable-pitch nil :font "Arial-10") (setq default-frame-alist (append `((background-color . "gray85") (font . "DejaVu Sans Mono-9") )) default-frame-alist)) I don't have any fontset customisation at all, but the earlier change still made emacs choose a different font for symbols. AndyM From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jun 2015 16:50:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Andy Moreton Cc: 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14338685629359 (code B ref 20727); Tue, 09 Jun 2015 16:50:08 +0000 Received: (at 20727) by debbugs.gnu.org; 9 Jun 2015 16:49:22 +0000 Received: from localhost ([127.0.0.1]:46417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2MiH-0002Qs-P9 for submit@debbugs.gnu.org; Tue, 09 Jun 2015 12:49:22 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:55409) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2MiF-0002Qe-9j for 20727@debbugs.gnu.org; Tue, 09 Jun 2015 12:49:20 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPO00N00RVJ4I00@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Tue, 09 Jun 2015 19:48:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPO00MB0S1IXI80@a-mtaout20.012.net.il>; Tue, 09 Jun 2015 19:48:55 +0300 (IDT) Date: Tue, 09 Jun 2015 19:48:43 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83fv60u8t0.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> <83ioawud1b.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andy Moreton > Date: Tue, 09 Jun 2015 17:29:30 +0100 > > >> After this change, Emacs uses Batang Che for the box drawing characters, > >> unless I add code to reverse the effects of the patch. > > > > Not sure how that happened: AFAIK, my change mentioned neither Batang > > Che nor DejaVu Mono. Do you have in your customizations some setup > > for fontsets that cover these characters? If so, could you please > > show these customizations? > > All I have is to choose DejaVu Mono as the default font. Your changes > made the defqault fontset choose Symbola and FreeMono for symbols and > box drawing characters, but my system does not have thiose fonts, so it > chose something else instead. What I cannot understand is why it chose Batang Che, when it chose DejaVu Mono before. Before my changes, it should have examined Batang Che before DejaVu Mono, so if it was "good" after my changes, it should have been good before them. AFAICS, fonts are generally examined in the same order. Probably some additional surprise lurking in the font-selection code. > > Anyway, I found and fixed an unintended consequence of my change, > > please try the latest master. Now, if the font used for ASCII face, > > which AFAIU is the same as the frame's default font, has a glyph for > > punctuation and other symbol characters, Emacs will use the default > > font, instead of searching for another font. > > Thanks Eli, this changes restores the original behaviour. It actually introduces behavior that was never there to begin with (except as a not-entirely-correct variation in the NS build). But at least now I can explain what Emacs does, and why ;-) > The only font-related customisation I have is: > > (set-face-attribute 'default nil :font "DejaVu Sans Mono-9") > (set-face-attribute 'variable-pitch nil :font "Arial-10") > > (setq default-frame-alist > (append `((background-color . "gray85") > (font . "DejaVu Sans Mono-9") > )) > default-frame-alist)) > > I don't have any fontset customisation at all, but the earlier change > still made emacs choose a different font for symbols. Strange. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: Andy Moreton , 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143412513219888 (code B ref 20727); Fri, 12 Jun 2015 16:06:02 +0000 Received: (at 20727) by debbugs.gnu.org; 12 Jun 2015 16:05:32 +0000 Received: from localhost ([127.0.0.1]:51988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3RSW-0005Ah-Ez for submit@debbugs.gnu.org; Fri, 12 Jun 2015 12:05:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41163) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3RSU-0005AS-Re for 20727@debbugs.gnu.org; Fri, 12 Jun 2015 12:05:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3RSL-000404-Op for 20727@debbugs.gnu.org; Fri, 12 Jun 2015 12:05:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3RSJ-0003zV-Fl; Fri, 12 Jun 2015 12:05:19 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Z3RSI-0000UG-Nr; Fri, 12 Jun 2015 12:05:18 -0400 From: Glenn Morris References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> <83ioawud1b.fsf@gnu.org> <83fv60u8t0.fsf@gnu.org> X-Spook: Collapse Public Health Tamiflu Sonora USCOI Skipjack X-Ran: AU/\rZ?";*;aM,GZ\qN;v__zrX^>CTEkJ#MDoXt''Ff!dN/Z]lr1[xx#iA%oE0!jujQ67* X-Hue: blue X-Attribution: GM Date: Fri, 12 Jun 2015 12:05:18 -0400 In-Reply-To: <83fv60u8t0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Jun 2015 19:48:43 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) The original issue is now fixed for me, thanks. From unknown Sun Jun 22 03:57:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vasilij Schneidermann Subject: bug#20727: closed (Re: bug#20727: 24.5; Font fallback doesn't work for the Emoji range) Message-ID: References: <83lhforace.fsf@gnu.org> X-Gnu-PR-Message: they-closed 20727 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: confirmed Reply-To: 20727@debbugs.gnu.org Date: Fri, 12 Jun 2015 19:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1434137642-7486-1" This is a multi-part message in MIME format... ------------=_1434137642-7486-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20727: 24.5; Font fallback doesn't work for the Emoji range which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20727@debbugs.gnu.org. --=20 20727: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20727 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1434137642-7486-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20727-done) by debbugs.gnu.org; 12 Jun 2015 19:33:03 +0000 Received: from localhost ([127.0.0.1]:52093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3UhK-0001v1-OH for submit@debbugs.gnu.org; Fri, 12 Jun 2015 15:33:03 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:36783) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3UhH-0001uY-Ls for 20727-done@debbugs.gnu.org; Fri, 12 Jun 2015 15:33:00 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NPU00G00ILW9300@a-mtaout21.012.net.il> for 20727-done@debbugs.gnu.org; Fri, 12 Jun 2015 22:32:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPU00GJNJMT9F40@a-mtaout21.012.net.il>; Fri, 12 Jun 2015 22:32:53 +0300 (IDT) Date: Fri, 12 Jun 2015 22:32:49 +0300 From: Eli Zaretskii Subject: Re: bug#20727: 24.5; Font fallback doesn't work for the Emoji range In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83lhforace.fsf@gnu.org> References: <83k2vkr43f.fsf@gnu.org> <83616zmigd.fsf@gnu.org> <833822ncny.fsf@gnu.org> <20150608054304.GA518@odonien> <83y4jul1by.fsf@gnu.org> <83oakqkrbs.fsf@gnu.org> <83ioawud1b.fsf@gnu.org> <83fv60u8t0.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20727-done Cc: 20727-done@debbugs.gnu.org, andrewjmoreton@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: Andy Moreton , 20727@debbugs.gnu.org > Date: Fri, 12 Jun 2015 12:05:18 -0400 > > > The original issue is now fixed for me, thanks. Thanks, closing. ------------=_1434137642-7486-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jun 2015 17:22:59 +0000 Received: from localhost ([127.0.0.1]:39288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0CNW-0008Qr-3S for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41678) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0CNT-0008Qb-4I for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0CNM-0003SS-9e for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:49 -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, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0CNM-0003SL-6D for submit@debbugs.gnu.org; Wed, 03 Jun 2015 13:22:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0CNJ-00025f-UW for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 13:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0CNI-0003Pz-8C for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 13:22:45 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:33011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0CNH-0003PK-V9 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 13:22:44 -0400 Received: by wiwd19 with SMTP id d19so60284721wiw.0 for ; Wed, 03 Jun 2015 10:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hmqtASKNiJRGNgg2g0s3X9Us7rC2WAh2u8ZkLaXrD7o=; b=gtfYQlVSVbtUY8tdHwk3WSH/aJDGwnnV9GVvjQ/E7/rb623E5PHwNnI9zELr5RQXIC e9llQmSHcJdBwClJeSylj5fQ0BZyODJqzKUa8g0ujC8KOvUpY7C/BEGxsXQXTyl8rqfW OtyDq00qfYDe7c2O1j/vhuIO8XtHByC5r6kvo/ZzjOgZCPjj0dDvm+zyzUMWuN+Q6ujq +L7EmQYwAWKF6H4yTsBr47F2/bZjVaaJR09rL2Bifvdr9aTLiKsd5zyZXksFZf0WrqbZ ZjFRl/XPwXI71faFrYlzv80XwXRXoUk4lbZaESlwR9moCUH8lOZ+Qri0kGfchYe5g2bO NPew== MIME-Version: 1.0 X-Received: by 10.194.178.201 with SMTP id da9mr53704538wjc.139.1433352162341; Wed, 03 Jun 2015 10:22:42 -0700 (PDT) Received: by 10.28.225.66 with HTTP; Wed, 3 Jun 2015 10:22:42 -0700 (PDT) Date: Wed, 3 Jun 2015 19:22:42 +0200 Message-ID: Subject: 24.5; Font fallback doesn't work for the Emoji range From: Vasilij Schneidermann To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=089e013d152279798e0517a04e1e 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --089e013d152279798e0517a04e1e Content-Type: text/plain; charset=UTF-8 I did install the Symbola font to be able to display glyphs for code points in the Emoji range which works for applications like my browser, however Emacs isn't able of displaying these glyphs despite that measure. To reproduce the issue on a Linux system, it's sufficient to have the Symbola font installed and with a default font different from it to insert a character like PILE OF POO with C-x 8 RET which yields a rectangle with numbers in it. Temporarily switching the default font to Symbola with M-x set-frame-font is one possible workaround to display the glyph, another one is modifying the default fontset to explicitly make use of that font for the Emoji range: (set-fontset-font "fontset-default" nil "Symbola" (selected-frame) 'append) I find this behaviour sort of puzzling as inspection of a buffer as produced with M-x view-hello-file and M-x describe-char on the various scripts confirms that Emacs managed choosing suitable fallback fonts for scripts not covered by my default font. Can someone enlighten me to what exactly is going on here? In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify 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 prog-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 nadvice 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 70978 6876) (symbols 48 17559 0) (miscs 40 35 138) (strings 32 9044 4472) (string-bytes 1 248344) (vectors 16 8908) (vector-slots 8 383094 18351) (floats 8 63 213) (intervals 56 177 0) (buffers 960 11) (heap 1024 42438 899)) --089e013d152279798e0517a04e1e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I did install the Symbola font to be able to display glyph= s for code
points in the Emoji range which works for applications like m= y browser,
however Emacs isn't able of displaying these glyphs despi= te that
measure.=C2=A0 To reproduce the issue on a Linux system, it'= s sufficient to
have the Symbola font installed and with a default font = different from
it to insert a character like PILE OF POO with C-x 8 RET = which yields a
rectangle with numbers in it.=C2=A0 Temporarily switching= the default font
to Symbola with M-x set-frame-font is one possible wor= karound to display
the glyph, another one is modifying the default fonts= et to explicitly
make use of that font for the Emoji range:

=C2= =A0 =C2=A0 (set-fontset-font "fontset-default" nil "Symbola&= quot;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (selected-frame) 'append)

I find this behaviour sort = of puzzling as inspection of a buffer as
produced with M-x view-hello-fi= le and M-x describe-char on the various
scripts confirms that Emacs mana= ged choosing suitable fallback fonts for
scripts not covered by my defau= lt font.=C2=A0 Can someone enlighten me to
what exactly is going on here= ?



In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Versio= n 3.16.2)
=C2=A0of 2015-04-20 on = bitzer.hoetzel.info
Windowing system distributor `The X.Org Foundati= on', version 11.0.11701000
System Description: Arch Linux

Con= figured using:
=C2=A0`configure --prefix=3D/usr --sysconfdir=3D/etc --li= bexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var --with-x-toolkit=3Dgtk3= --with-xft
=C2=A0'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pi= pe -fstack-protector-strong
=C2=A0--param=3Dssp-buffer-size=3D4' CPP= FLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-common,--as= -needed,-z,relro'

Important settings:
=C2=A0 value of $LANG: = en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: L= isp Interaction

Minor modes in effect:
=C2=A0 tooltip-mode: t
= =C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool= -bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t<= br>=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bl= ink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode:= t
=C2=A0 transient-mark-mode: t

Recent messages:
For informat= ion about GNU Emacs and the GNU system, type C-h C-a.

Load-path shad= ows:
None found.

Features:
(shadow sort gnus-util mail-extr em= acsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodi= es mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail= rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-= date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwhee= l x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-lis= t newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow time= r select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core f= rame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet= lao korean
japanese hebrew greek romanian slovak czech european ethiopi= c indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple = abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files<= br>text-properties overlay sha1 md5 base64 format env code-pages mule
cu= stom widget hashtable-print-readable backquote make-network-process
dbus= bind gfilenotify dynamic-setting system-font-setting
font-render-setting= move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:((conses 16 70978 6876)
=C2=A0(symbols 48 17559 0)
=C2=A0(miscs 40 = 35 138)
=C2=A0(strings 32 9044 4472)
=C2=A0(string-bytes 1 248344)=C2=A0(vectors 16 8908)
=C2=A0(vector-slots 8 383094 18351)
=C2=A0(f= loats 8 63 213)
=C2=A0(intervals 56 177 0)
=C2=A0(buffers 960 11)
= =C2=A0(heap 1024 42438 899))
--089e013d152279798e0517a04e1e-- ------------=_1434137642-7486-1-- From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range References: In-Reply-To: Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: 20727@debbugs.gnu.org Cc: Eli Zaretskii , Vasilij Schneidermann , Andy Moreton Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143414265715121 (code B ref 20727); Fri, 12 Jun 2015 20:58:02 +0000 Received: (at 20727) by debbugs.gnu.org; 12 Jun 2015 20:57:37 +0000 Received: from localhost ([127.0.0.1]:52137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3W1A-0003vp-QS for submit@debbugs.gnu.org; Fri, 12 Jun 2015 16:57:37 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48397) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3W17-0003vZ-RB for 20727@debbugs.gnu.org; Fri, 12 Jun 2015 16:57:35 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D6A391607D0; Fri, 12 Jun 2015 13:57:27 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AEmDcg0hwz-r; Fri, 12 Jun 2015 13:57:27 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 179061607D8; Fri, 12 Jun 2015 13:57:27 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oKA8rYSn9PrP; Fri, 12 Jun 2015 13:57:27 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E0B581607D0; Fri, 12 Jun 2015 13:57:26 -0700 (PDT) Message-ID: <557B47B6.4080600@cs.ucla.edu> Date: Fri, 12 Jun 2015 13:57:26 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050606010908010509000008" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------050606010908010509000008 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable The recent change to fontsel.el messed up my display when I was trying=20 to test obsolescent 8-bit environments. I can reproduce the problem on=20 Fedora 21 x86-64 by running: src/emacs -Q -font=20 -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 and then by typing: abc C-x 8 [ def C-x 8 ] ghi This inserts "abc=E2=80=98def=E2=80=99ghi" into *scratch*. The display l= ooks like "abc =20 =E2=80=98def=E2=80=99 ghi" with huge spaces around the quotes (see attac= hed=20 screenshot). There are similar problems with many other characters. =20 Apparently this is because I don't have the Symbola font installed, so=20 the change caused Emacs to fall back on Chinese double-width quotes=20 rather than on the font it used before (which is -misc-liberation=20 serif-medium-r-normal--13-94-100-100-p-74-iso10646-1 for the above=20 invocation of Emacs). I imagine that there will be similar problems with choosing Symbola even=20 if it's available, as users may prefer the font they've selected=20 explicitly, so perhaps the change should be enabled only for characters=20 that are not already available in the user-selected font? In the=20 meantime, in master commit 203e84c6cf9b8356e376cc748b5ed331df96dc9e I=20 worked around my problem by skipping the change if Symbola is not install= ed. --------------050606010908010509000008 Content-Type: image/png; name="Screenshot from 2015-06-12 12:59:19.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Screenshot from 2015-06-12 12:59:19.png" iVBORw0KGgoAAAANSUhEUgAAAKQAAABhCAYAAABYkApGAAAABHNCSVQICAgIfAhkiAAAABl0 RVh0U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AAAV3SURBVHic7Zw9TisxFIWdJ1pK NvBS0LGBNIiGColdIPqsgDqbQKJHeqyBDikbIAIJ0VJkA/MqR8bxz1zP9fhMcj4pIuN47r12 Tvwzc5nZdrvtTk9PDSEInGgae5nP98puNhvzMp+bm81G09We3xL7Nl7/3Fg5GlOJU8R2u+20 +ff3b/I4V3+oP+k5fd5romF3jDglaMXwxxVnaIRLlWvR+hce818rLm27rftPk92UbUXnT3+x 8hJCU0xu2gx9lrLt1g+1pbQNKfuSqVOrvTXjTNWP2Xf/5uqnyn9N2bFhVzoch6bs1BQjPe7j L1fuvvw4+8abqyeNt6+d2nHG6qfiDNmUfi9d13W/NjU1py6JDf/XWWOKC42WqQ1YbNni1i2N U9reko2iNE6tPk9tdO1715fqLluT2LTbitoxoLVXi9wg57d3b1MTUnSsvBb++kLDt2b82n1R o70tyW2OU+3dGyHH3nGGNk1+kKWbGn9qKP2iS+LJxTm0vbXjlNoPbYJi9VN2ZvZOTWrtdEhT CMFmxluHBIk/+SqEjAcFSaBQv+yTWlQfZDIAUUV9hHR3Ui52c3QIlzVcpG2ZSttbxdkkuYIj JImxE2ToomWqvCaxGOx7/0J9qr6m/b7lOb+h+iG/OVuSeGL2texI4kwyZnKFf9Necn5JudR+ rF4qOWFo30jiydUvSYqIlWvEmTs/9PkoyRVjZI2XEIqpTxIFGrHEiVi6l0vtNbCk/s1mg5tc YRl7qdDnS5wife7C9Wmv5IdZYh8yucKOqCWjqlacJXZa7bg1/KZsaIyuzdaQsbXikP+5iCXR hvz29ZVaX/mf9UmoLemjUJkkyVeSeFvSb5px5uKzQCZXhIZ65DUc0QM2uaJmGhXBBVaQ5Dhh cgWBYhRBHtLlkyGwH9K8zOf6gpxKp9eOcyr2x7i8JbEB8eQKMi1qbjJVkytyyQYaN/dTvjWS IjTi0eqHEvup+EPnp+KM+U7ZG9w/NS6Mpy6OunU0n7QgtSN90oI0oUKjH0rsx46H+OrjR6t/ mj+5QiuZYUw7Q/pD2g9SUvHXvMGgZbd5coVWQ9DstPI79ZsIVZMrppxsUGJHar92fX8dmfv3 kVabV9ev+pMrJI99a/nEBsmTFobGVKMfJPG7U7U/dUvitLZ8myXE/EImV5DjhfeyCRS8l02g oCAJFBQkgYKCJFBQkAQKCpJAQUESKChIAgUFSaCgIAkUFCSBgoIkUFCQBIrmGeOHwGw2C5Z3 XTdyJNOn2Qj59vZm1uu1mr3393dzd3dnPj8/1WyS8WkiyPV6bR4eHsz5+bmazc1mY56enszj 46OaTTI+SUHGpqKhPD8/m5+fH/P19bXvc7XqZWO2Wv2qe319be7v783FxcXg+Gq1m+RpMkJe XV2Zj4+PoCD7MFutTLdcmm653Iny9fXVnJ2dmdvbW81Qw/4p2Go02dRcXl6a7+9vFVvdcmmM MWaxWJjFYqFiM+uTm5Vq7ATp/urdDpeWlxCbpt1yKzxtUu2wn4XaTVHWYSdIv9Ptcajc/dyv L8VOv+5xrNydou3fIUJNtSP23raf1CE4QkqpNVqERk4ryloj5s4PR8AmnBgTHikQqC06gsfe LrtEjGMIuO/lIAl2+rUv0p4TY36vi/w1UmjR79cZMr2568JUea3RUjoz2DpD1s0kzlE/uUJr c8Z72XocdXKF5khPdDhqQRpDEaJx9ILUgKLWgwm6BAoKkkBBQRIoKEgCBQVJoKAgCRQUJIGC giRQUJAECgqSQEFBEigoSAIFBUmgoCAJFBQkgYKCJFBQkAQKCpJAQUESKChIAgUFSaCgIAkU FCSBgoIkUFCQBAoKkkBBQRIoKEgCBQVJoKAgCRT/AahfqPIaYRXGAAAAAElFTkSuQmCC --------------050606010908010509000008-- From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14341790867636 (code B ref 20727); Sat, 13 Jun 2015 07:05:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 07:04:46 +0000 Received: from localhost ([127.0.0.1]:52241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3fUi-0001z5-VF for submit@debbugs.gnu.org; Sat, 13 Jun 2015 03:04:45 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:50826) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3fUf-0001ym-Ma for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 03:04:43 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NPV00800FQ42B00@mtaout26.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 10:06:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPV0032CFRD6H50@mtaout26.012.net.il>; Sat, 13 Jun 2015 10:06:50 +0300 (IDT) Date: Sat, 13 Jun 2015 10:04:32 +0300 From: Eli Zaretskii In-reply-to: <557B47B6.4080600@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83h9qcqebj.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <557B47B6.4080600@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 12 Jun 2015 13:57:26 -0700 > From: Paul Eggert > CC: Eli Zaretskii , > Vasilij Schneidermann , > Andy Moreton > > The recent change to fontsel.el messed up my display when I was trying > to test obsolescent 8-bit environments. I can reproduce the problem on > Fedora 21 x86-64 by running: > > src/emacs -Q -font > -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 > > and then by typing: > > abc C-x 8 [ def C-x 8 ] ghi > > This inserts "abc‘def’ghi" into *scratch*. The display looks like "abc > ‘def’ ghi" with huge spaces around the quotes (see attached > screenshot). There are similar problems with many other characters. > Apparently this is because I don't have the Symbola font installed, so > the change caused Emacs to fall back on Chinese double-width quotes > rather than on the font it used before (which is -misc-liberation > serif-medium-r-normal--13-94-100-100-p-74-iso10646-1 for the above > invocation of Emacs). I recommend to either install Symbola (preferred) or customize the default fontset on your system to use the font it used previously, if you like it better than Symbola. > I imagine that there will be similar problems with choosing Symbola even > if it's available, as users may prefer the font they've selected > explicitly With the current master (even before your change), Symbola is preferred only for punctuation and other symbols, and only if the default font doesn't support those characters. I don't expect users to prefer some specific font for those, except their default font. User preferences are expected in Unicode ranges that belong to users' scripts, not for symbols and punctuation that their default font doesn't already support. In the rare cases where users do prefer specific fonts for those characters, they can customize the fontsets. > so perhaps the change should be enabled only for characters > that are not already available in the user-selected font? That's what the code already does. Are you saying that your default font supported those quotes, and yet Emacs didn't use that font for them? You say above "fall back", and mention a non-default font, which I understand to mean your default font didn't support those characters. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 07:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143418117110819 (code B ref 20727); Sat, 13 Jun 2015 07:40:04 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 07:39:31 +0000 Received: from localhost ([127.0.0.1]:52247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3g2M-0002oQ-Ei for submit@debbugs.gnu.org; Sat, 13 Jun 2015 03:39:30 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:45219) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3g2I-0002o7-Pf for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 03:39:27 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NPV00K00GQGBZ00@mtaout24.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 10:31:00 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPV00JATGVOTP10@mtaout24.012.net.il>; Sat, 13 Jun 2015 10:31:00 +0300 (IDT) Date: Sat, 13 Jun 2015 10:39:17 +0300 From: Eli Zaretskii In-reply-to: <557B47B6.4080600@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83fv5wqcpm.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 12 Jun 2015 13:57:26 -0700 > From: Paul Eggert > CC: Eli Zaretskii , > Vasilij Schneidermann , > Andy Moreton > > In the meantime, in master commit > 203e84c6cf9b8356e376cc748b5ed331df96dc9e I worked around my problem > by skipping the change if Symbola is not installed. I had to revert that commit, sorry. I do have Symbola installed, and yet that change caused the default-fontset not to include the customization for symbols and punctuation. I guess the machinery for looking up fonts is not yet fully set up when setup-default-fontset is called during initialization, and find-font always fails. So if the problem you bumped into is indeed a serious one, and telling users to install Symbola or customize their fontsets is not good enough, we will have to look for another solution for this issue. I'll try to figure out how come a non-existing font in the default fontset suddenly changes which fallback font is selected, that's something I didn't expect to happen. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 09:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143418678119487 (code B ref 20727); Sat, 13 Jun 2015 09:13:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 09:13:01 +0000 Received: from localhost ([127.0.0.1]:52332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3hUq-00054A-Sn for submit@debbugs.gnu.org; Sat, 13 Jun 2015 05:13:01 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:47896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3hUn-00053t-Gz for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 05:12:58 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPV00E00KZ7O600@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 12:12:51 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPV00EVULLEJV80@a-mtaout20.012.net.il>; Sat, 13 Jun 2015 12:12:51 +0300 (IDT) Date: Sat, 13 Jun 2015 12:12:48 +0300 From: Eli Zaretskii In-reply-to: <557B47B6.4080600@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <837fr8q8dr.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <557B47B6.4080600@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 12 Jun 2015 13:57:26 -0700 > From: Paul Eggert > CC: Eli Zaretskii , > Vasilij Schneidermann , > Andy Moreton > > src/emacs -Q -font > -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 > > and then by typing: > > abc C-x 8 [ def C-x 8 ] ghi > > This inserts "abc‘def’ghi" into *scratch*. The display looks like "abc > ‘def’ ghi" with huge spaces around the quotes (see attached > screenshot). There are similar problems with many other characters. > Apparently this is because I don't have the Symbola font installed, so > the change caused Emacs to fall back on Chinese double-width quotes > rather than on the font it used before (which is -misc-liberation > serif-medium-r-normal--13-94-100-100-p-74-iso10646-1 for the above > invocation of Emacs). Please tell the exact spec of the font with Chinese double-width quotes Emacs selected on that system (like you show above for the Liberation Serif font). Also, please send (as an attachment) the entire contents of the *Help* buffer produced by "M-x describe-fontset RET RET" on that system. I'd like to see what can be done to avoid that, even if Symbola is not installed. Thanks. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: eggert@cs.ucla.edu Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14341964947985 (code B ref 20727); Sat, 13 Jun 2015 11:55:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 11:54:54 +0000 Received: from localhost ([127.0.0.1]:52448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3k1V-00024j-9j for submit@debbugs.gnu.org; Sat, 13 Jun 2015 07:54:53 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:40133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3k1S-00024U-9g for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 07:54:51 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NPV00500S6RI500@a-mtaout23.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 14:54:43 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPV00546T36F650@a-mtaout23.012.net.il>; Sat, 13 Jun 2015 14:54:43 +0300 (IDT) Date: Sat, 13 Jun 2015 14:54:40 +0300 From: Eli Zaretskii In-reply-to: <837fr8q8dr.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <83y4jnq0vz.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 12:12:48 +0300 > From: Eli Zaretskii > Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org > > > Date: Fri, 12 Jun 2015 13:57:26 -0700 > > From: Paul Eggert > > CC: Eli Zaretskii , > > Vasilij Schneidermann , > > Andy Moreton > > > > src/emacs -Q -font > > -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 > > > > and then by typing: > > > > abc C-x 8 [ def C-x 8 ] ghi > > > > This inserts "abc‘def’ghi" into *scratch*. The display looks like "abc > > ‘def’ ghi" with huge spaces around the quotes (see attached > > screenshot). There are similar problems with many other characters. > > Apparently this is because I don't have the Symbola font installed, so > > the change caused Emacs to fall back on Chinese double-width quotes > > rather than on the font it used before (which is -misc-liberation > > serif-medium-r-normal--13-94-100-100-p-74-iso10646-1 for the above > > invocation of Emacs). > > Please tell the exact spec of the font with Chinese double-width > quotes Emacs selected on that system (like you show above for the > Liberation Serif font). Also, please send (as an attachment) the > entire contents of the *Help* buffer produced by "M-x describe-fontset > RET RET" on that system. I'd like to see what can be done to avoid > that, even if Symbola is not installed. Please also see if the latest master fixes the problem for you; if it does, then you don't need to send all of the information I requested. (I think I figured out why the original change caused Emacs to choose a different font than what it would chose before that change.) From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143421131610143 (code B ref 20727); Sat, 13 Jun 2015 16:02:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 16:01:56 +0000 Received: from localhost ([127.0.0.1]:52873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3nsa-0002dW-0A for submit@debbugs.gnu.org; Sat, 13 Jun 2015 12:01:56 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37675) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3nsX-0002dC-K0 for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 12:01:54 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 78B751607BB; Sat, 13 Jun 2015 09:01:47 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bNXYJoQDcWJG; Sat, 13 Jun 2015 09:01:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B5C2F1607F2; Sat, 13 Jun 2015 09:01:46 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JTVMdwo1DvvH; Sat, 13 Jun 2015 09:01:46 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 916761607BB; Sat, 13 Jun 2015 09:01:46 -0700 (PDT) Message-ID: <557C53E2.6070706@cs.ucla.edu> Date: Sat, 13 Jun 2015 09:01:38 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> In-Reply-To: <83y4jnq0vz.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------020508040409050100000900" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------020508040409050100000900 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Eli Zaretskii wrote: > Please also see if the latest master fixes the problem for you; if it > does, then you don't need to send all of the information I requested. I can't easily try that until Monday, sorry. But I now have a different = problem=20 with the patch. I'm on a machine with Symbola installed now, and with the latest master v= ersion=20 (commit eb92f89c2125aaf8fdf93cdd85ab46ae278dd950) the display is way wors= e than=20 it was before. See attached screenshots of Emacs 24.4 and latest master=20 displaying the following text in a fundamental-mode buffer: abc=E2=80=98def=E2=80=99ghi abc=E2=80=9Cdef=E2=80=9Dghi abc=E2=89=A4def I ran Emacs with the arguments "-Q -r -font=20 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1". Emacs=20 previously substituted=20 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 for the=20 non-alphabetic characters, and this worked well: it's the same font, real= ly, and=20 the substitute characters are legible and match the default font well. I= n=20 contrast, Symbola is varying width, the characters don't match the defaul= t font,=20 and the characters are in some cases nearly illegible. Why is Emacs using Symbola in a setup that has good Unicode characters al= ready?=20 Isn't the idea to use Symbola only as a fallback, when the existing fon= ts=20 don't work? --------------020508040409050100000900 Content-Type: image/png; name="Screenshot from 2015-06-13 08:49:51.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Screenshot from 2015-06-13 08:49:51.png" iVBORw0KGgoAAAANSUhEUgAAAFIAAAA6CAIAAACs6Zn7AAAAA3NCSVQICAjb4U/gAAAAGXRF WHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAYhJREFUaIHtmd0OwyAIhXXZ+7+y uzAxRn6KiLZdzne1WUFQi54tJQAAAAD8FaWUxc66h1LK0IG2uOPxYx9G6mnJgWYeOMrAx9jP jnspcs69k/6rw4POl21toTdHlhY6MJ0C1ooi+RmmhsbjmCyG6quPXmqRbC/9NPQYqJX01MLF aluYmuDBc855935mYdLu4wivmTGbcBmtpBlz9k2N3aruCP1FmIVZ7TpM/yGRotI/khaw70Nb ppbdsvvaa/+QDbWKr2jpvGNifHsEADuzJV25nEmGvS29k/jiWcUyjJKz7oEa6q4c7ZRIKXIZ rk4tV+0EchxFN0iR1k7Vgu5ZCp31AykCKTIPpAgBUgRS5DiQImGlYdyHga6fTPwPxq/AlPb6 G2WXImfY8vfAVA619tKyvxX+luZj8VZ8sqaESRH2wHRIkUMUwvA0cScne5YO5lFSZAeRUqQt e5IXM0qKLBIvRab+07sLraTZpQh7/bZYWfzvIEyK0BwCpUg4uJwCAAAAAAAAANjKDwVNTjam aY39AAAAAElFTkSuQmCC --------------020508040409050100000900 Content-Type: image/png; name="Screenshot from 2015-06-13 08:50:20.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Screenshot from 2015-06-13 08:50:20.png" iVBORw0KGgoAAAANSUhEUgAAAFcAAAA+CAIAAADRURCpAAAAA3NCSVQICAjb4U/gAAAAGXRF WHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAABA9JREFUaIHtWUtME1EUva/0Q8Fq RAOx/PHHp0CAEGNiCQHjN2GDEQlBDVGIBjcudKVI3EDYogSIkZgYgsaNumGhRnBJbIKYEIMQ P21VVBYGaql0XDw6TmemM2/amWkN74TFcOe9e987vXPfPTPIbrcDAAC43W4IB0IINgYM8V5A QoCyAEBZwKAsAFAWMCgLAJQFDCN7tXG6AyFoLgAoZYFhmOjCdDEz0nelB8QYXRYa5AKylRw/ sieV9PnqYma6kaMbOdaJsFb1zbofNWaQryx2dtRnwZBW5vC8ereseGXdyAEA4HvTd+rcY9hs Ip4Ye0UzSt9maWYjyVqQJe/s+NjhE3vbJpaFec5a1vcsgtUfXn/Q/G1VLBYbjhc9ViLsIUgP w8G4uRfJAmDOKKvItiIuBfha1ML+he5YC+qcmSbxWKxRLG70IM0FEoR+kNWv065IY3jZgctB eF745p9PyoVQGVIsMAwjTPsYEflBiCeIqiMhBYqYkj0aEUJMCORuo4NULuB1cC9AWAs5t3jp +u/wE7OQJAVJJrIlI5aHBbF10ePxRO1FC/CeR00bfJnqGEdIZJnqSFwWQEeBR9UUAGUBQydN SehB6bmo1iGqTS6gTbud+7OTDdaCmpqdpOoSHwShomgpvTHtedqSX3J16suz9jxl9UspO5qw YEgryve6PvlthYWLU+8Vq0uEEIB/tr/l9CiT8nG4tWkosNWi3IMCyLAg7N5ILCi18ubbhWHn tqIrrs+j9TayWTwEfnp8wQXv8pJ3xbDg/i0xS9SzzL550EBTAoBlR3lFlhWZ0ksrc1NIZjEc YLs5p8aZbQaT/UBtfjLfv8oqU6Z3DPuFERL2cyRdneissEUgxBtG7ke0v1Taa+qtKVkk1Cvv uGnKKGZppzI11JRCP6IWRUmhkcqUOYdZR+yeJcaQ+FFk4UG4Me6/vKUqQkKrKR60U5n/Ewug WU2lagqAsoCht6Yk96bFiRgJeuWCKb264VCumXR4uL7UHJpXR2TNq2+70Fj85/XY7XsB5dN1 aTHV/07JImlLSUN728HM7y/v9nTeWloT+JSIojNIuya2YyHRM6aMfc0dzdUpc0+GrnXOr3A3 LdQmkbQW27aqsU05SCtrnuCV1sjrMGY13Zkc720ssokUHWlNLSqTdYCUsiZRshHadcPm4oaO 80dzlyZGBh5MLQYIfYoO0wFELHA1FaHCx86tObVnLp4sh+mHAyMvPvgY4ncEOrNA9ERA5DdC XGOkEMbtVS3X+wd7W3eZQdSJqE8V9kYMHb9TGpIMwbWgtjGihAb9gjHz2OVLdel8z8wv12DP /Tm/+gFjR+J+s9YTVE0BUBYwKAsAlAUMygIAZQGDsgBAWcCgLABQFjAoCwCUBYy/+CEa7Qkm uFsAAAAASUVORK5CYII= --------------020508040409050100000900-- From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143421319612961 (code B ref 20727); Sat, 13 Jun 2015 16:34:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 16:33:16 +0000 Received: from localhost ([127.0.0.1]:52878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3oMs-0003Mx-Uz for submit@debbugs.gnu.org; Sat, 13 Jun 2015 12:33:15 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:47739) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3oMp-0003Mj-CG for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 12:33:13 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NPW002005N33F00@mtaout27.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 19:28:29 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW002D55RCE300@mtaout27.012.net.il>; Sat, 13 Jun 2015 19:28:29 +0300 (IDT) Date: Sat, 13 Jun 2015 19:32:45 +0300 From: Eli Zaretskii In-reply-to: <557C53E2.6070706@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83si9vpo0i.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 09:01:38 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > I'm on a machine with Symbola installed now, and with the latest master version > (commit eb92f89c2125aaf8fdf93cdd85ab46ae278dd950) the display is way worse than > it was before. See attached screenshots of Emacs 24.4 and latest master > displaying the following text in a fundamental-mode buffer: > > abc‘def’ghi > abc“def”ghi > abc≤def I don't really see why it's "way worth". I see quite similar displays. > I ran Emacs with the arguments "-Q -r -font > -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1". Emacs > previously substituted > -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 for the > non-alphabetic characters, and this worked well: it's the same font, really, and > the substitute characters are legible and match the default font well. In > contrast, Symbola is varying width, the characters don't match the default font, > and the characters are in some cases nearly illegible. The Symbola font looks much more crisp on my system, FWIW. Which font back-end did you configure Emacs to use? Also, if you use the iso10646-1 variant instead of the iso8859-1 as the default font, doesn't that fix the problem, in that the default font is used for both ASCII and the punctuation characters? That's what happens on my system: the default font, which is Courier New, does included these quotes, so it is used when these characters need to be displayed, and Emacs falls back on Symbola only for the more rare symbols. > Why is Emacs using Symbola in a setup that has good Unicode characters already? How would Emacs know where to find "good Unicode characters", in a font with coverage that is good enough to show almost any character that's there? And how can Emacs know which fonts you like and don't like? > Isn't the idea to use Symbola only as a fallback, when the existing fonts > don't work? No, it's the other way around. Experience shows that the existing fonts are frequently inadequate, in that they claim support for Unicode ranges where they actually support only a handful of glyphs. Users then complain that they have decent fonts (like Symbola) installed, but Emacs still shows some characters as boxes with hex code, instead of using Symbola. I tried to improve on that in my latest changes. I do expect some rough edges, since this area in Emacs is notoriously under-documented, and we no longer have experts on board who are active enough to take care of this. So perhaps I made some mistakes with my changes, or didn't use the right options. But I don't think it's a good idea to go back to the previous arrangement where any font that claimed iso10646-1 support would be considered as covering symbols and punctuation well, because that means restoring the problems I tried to fix in the first place. How about the following compromise: we exclude the ranges for the most popular symbols and punctuation, which are reasonably well covered by many fonts, from the characters for which we specify Symbola? This would include the quotes you've shown and a few other similar characters. (It would require some footwork for finding out which characters are covered well by many fonts.) Would that be good enough? From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: eggert@cs.ucla.edu Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143421511615875 (code B ref 20727); Sat, 13 Jun 2015 17:06:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 17:05:16 +0000 Received: from localhost ([127.0.0.1]:52886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3orq-00047w-OX for submit@debbugs.gnu.org; Sat, 13 Jun 2015 13:05:15 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:59621) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3orn-00047e-S4 for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 13:05:12 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NPW00A006XY3O00@mtaout24.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 19:56:40 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW008OE72G4020@mtaout24.012.net.il>; Sat, 13 Jun 2015 19:56:40 +0300 (IDT) Date: Sat, 13 Jun 2015 20:04:58 +0300 From: Eli Zaretskii In-reply-to: <83si9vpo0i.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <83r3pfpmit.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 19:32:45 +0300 > From: Eli Zaretskii > Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org > > How about the following compromise: we exclude the ranges for the most > popular symbols and punctuation, which are reasonably well covered by > many fonts, from the characters for which we specify Symbola? This > would include the quotes you've shown and a few other similar > characters. Actually, an even better solution might be this: we explicitly specify fixed-medium font with iso10646-1 registry for these popular characters _before_ Symbola. This is justified, I think, since the standard-fontset-spec on X specifies a fixed-medium font, so fit is iso10646-1 variant supports these commonly-used punctuation characters, it is a better candidate than Symbola, while the latter will still be used as fallback. WDYT? Could you try this on your system and see if it work? From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143421523816084 (code B ref 20727); Sat, 13 Jun 2015 17:08:01 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 17:07:18 +0000 Received: from localhost ([127.0.0.1]:52890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3otp-0004BM-R0 for submit@debbugs.gnu.org; Sat, 13 Jun 2015 13:07:18 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38718) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3oto-0004B9-8w for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 13:07:16 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B8F01160806; Sat, 13 Jun 2015 10:07:10 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id DTWbzPF6kwXN; Sat, 13 Jun 2015 10:07:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9060F16080A; Sat, 13 Jun 2015 10:07:09 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sOdg3GndfIWw; Sat, 13 Jun 2015 10:07:09 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 69B86160806; Sat, 13 Jun 2015 10:07:09 -0700 (PDT) Message-ID: <557C633D.8090508@cs.ucla.edu> Date: Sat, 13 Jun 2015 10:07:09 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> In-Reply-To: <83si9vpo0i.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii wrote: > I don't really see why it's "way worth". Sorry, I mistyped (and used my Sylvester voice ). I meant that Symbola looks "way worse". I assume that you can see that in the screenshots, it's just that you can't reproduce the problem on your machine. > The Symbola font looks much more crisp on my system, FWIW. Which font > back-end did you configure Emacs to use? Sorry, I don't know what "font back-end" means. I'm running on Ubuntu 15.04 and configured Emacs with --enable-gcc-warnings. 'configure' outputs: Configured for 'x86_64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -std=gnu99 -g3 -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK3 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng12 Does Emacs use -lrsvg-2? yes Does Emacs use cairo? no Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lgconf? yes Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lgio (gfile) Does Emacs use access control lists? no Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs directly use zlib? yes Does Emacs use toolkit scroll bars? yes > Also, if you use the iso10646-1 variant instead of the iso8859-1 as > the default font, doesn't that fix the problem Yes. The problem, I imagine, is that users will have put a fixed-width font of their own preference into their .Xdefaults or .Xresources file (e.g., "Emacs.font fixed"). This is reasonably common, and the recent change makes symbols look much worse, at least in my environment. By the way, I can reproduce a similar problem with "emacs -Q -font fixed". It's not as unreadable there, but it's still pretty bad: Symbola characters have a different width than the fixed-width characters that Emacs previously used, so source code listings no longer line up. > existing > fonts are frequently inadequate, in that they claim support for > Unicode ranges where they actually support only a handful of glyphs. > Users then complain that they have decent fonts (like Symbola) > installed, but Emacs still shows some characters as boxes with hex > code, instead of using Symbola. This doesn't seem to be a problem in Ubuntu and/or Fedora (the systems I typically use), and on these environments the cure seems to be worse than the disease. Is there some way we can heuristically tell whether we're in an environment where glyphs are often not supported? For example, can we convert a sample glyph or two to a bitmap and see whether it looks like a boxed hex code? (Just thinking out loud.) > I don't think it's a good idea to > go back to the previous arrangement where any font that claimed > iso10646-1 support would be considered as covering symbols and > punctuation well, because that means restoring the problems I tried to > fix in the first place. In that case I don't understand why emacs -Q -font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 works now. If Emacs is supposed to prefer Symbola to other fonts when displaying symbols, why isn't it using Symbola in this case? From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143421541516384 (code B ref 20727); Sat, 13 Jun 2015 17:11:01 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 17:10:15 +0000 Received: from localhost ([127.0.0.1]:52894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3owg-0004GB-4U for submit@debbugs.gnu.org; Sat, 13 Jun 2015 13:10:14 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3owd-0004Fx-Nn for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 13:10:12 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3A028160806; Sat, 13 Jun 2015 10:10:06 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ukB5yqd2v0pP; Sat, 13 Jun 2015 10:10:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7DC9A16080F; Sat, 13 Jun 2015 10:10:05 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pPCBQ2mhtNXJ; Sat, 13 Jun 2015 10:10:05 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5FFFE160806; Sat, 13 Jun 2015 10:10:05 -0700 (PDT) Message-ID: <557C63ED.8050005@cs.ucla.edu> Date: Sat, 13 Jun 2015 10:10:05 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <83r3pfpmit.fsf@gnu.org> In-Reply-To: <83r3pfpmit.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii wrote: > Actually, an even better solution might be this: we explicitly specify > fixed-medium font with iso10646-1 registry for these popular > characters_before_ Symbola. This is justified, I think, since the > standard-fontset-spec on X specifies a fixed-medium font, so fit is > iso10646-1 variant supports these commonly-used punctuation > characters, it is a better candidate than Symbola, while the latter > will still be used as fallback. > > WDYT? Could you try this on your system and see if it work? I'd be happy to try, but I'm afraid this is an area I don't know well and I don't see why the existing code doesn't already do what you'r suggesting. setup-default-fontset invokes (set-fontset-font "fontset-default" ... "Symbola" nil 'prepend), and later invokes (set-fontset-font "fontset-default" nil '(nil . "iso10646-1") nil 'prepend), so doesn't that mean that the iso10646-1 fonts are prepended before Symbola and so should take priority over Symbola already? Anyway, If you can send me a patch along the lines you're thinking, I can try it. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 17:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143421828521105 (code B ref 20727); Sat, 13 Jun 2015 17:59:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 17:58:05 +0000 Received: from localhost ([127.0.0.1]:52923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3pgy-0005UI-67 for submit@debbugs.gnu.org; Sat, 13 Jun 2015 13:58:05 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:38816) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3pgv-0005Tk-2E for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 13:58:02 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NPW00J009VTE700@a-mtaout21.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 20:57:54 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW00JGR9WDBO60@a-mtaout21.012.net.il>; Sat, 13 Jun 2015 20:57:54 +0300 (IDT) Date: Sat, 13 Jun 2015 20:57:47 +0300 From: Eli Zaretskii In-reply-to: <557C633D.8090508@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83pp4zpk2s.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 10:07:09 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > > The Symbola font looks much more crisp on my system, FWIW. Which font > > back-end did you configure Emacs to use? > > Sorry, I don't know what "font back-end" means. The answer is here: > Does Emacs use -lm17n-flt? yes > Does Emacs use -lotf? yes > Does Emacs use -lxft? yes This means your font back-end is xft with libotf. That's the most advanced one we have on GNU and Unix systems, I think. I thought maybe you had something less advanced for some reason. > > Also, if you use the iso10646-1 variant instead of the iso8859-1 as > > the default font, doesn't that fix the problem > > Yes. The problem, I imagine, is that users will have put a fixed-width font of > their own preference into their .Xdefaults or .Xresources file (e.g., > "Emacs.font fixed"). This is reasonably common, and the recent change makes > symbols look much worse, at least in my environment. The question is how to avoid that without re-introducing the original problems. > By the way, I can reproduce a similar problem with "emacs -Q -font fixed". It's > not as unreadable there, but it's still pretty bad: Symbola characters have a > different width than the fixed-width characters that Emacs previously used, so > source code listings no longer line up. At some point, with sufficiently rare characters that are not well covered by fixed-width fonts, this will always happen. I don't think it's a catastrophe; it is certainly better than having the boxes with hex codes instead (which also make text misalign, btw). > > existing > > fonts are frequently inadequate, in that they claim support for > > Unicode ranges where they actually support only a handful of glyphs. > > Users then complain that they have decent fonts (like Symbola) > > installed, but Emacs still shows some characters as boxes with hex > > code, instead of using Symbola. > > This doesn't seem to be a problem in Ubuntu and/or Fedora (the systems I > typically use) I think you are judging by characters that are sufficiently well covered. Try Emoji (something in the range U+1F600 to U+1F64F), which was the trigger for this bug and my changes, or Enclosed Alphanumerics (U+1F100 to U+1F1FFF), for example. Or even Supplemental Punctuation (u+2E00 to u+2E7F) or Currency Symbols (u+20A0 to u+20CF). What I see on my system is that several fonts claim coverage, but typically support just a few characters, sometimes just one. That's the problem I was trying to avoid. > and on these environments the cure seems to be worse than the > disease. Is there some way we can heuristically tell whether we're > in an environment where glyphs are often not supported? It's not a matter of the environment, it's the matter of which fonts are installed. And sometimes, more installed fonts is worse, because some fonts claim support for Unicode ranges where their actual coverage is very scarce, tempting Emacs to try using them instead of better ones. > For example, can we convert a sample glyph or two to a bitmap and > see whether it looks like a boxed hex code? (Just thinking out > loud.) That's not necessary: Emacs can know whether a font supports a character without any analysis of the resultant bitmap (see font_has_char). The problem is that Emacs tries very hard not to open a font, and does all its font search without actually opening any fonts. By contrast, what you suggest is only possible once we open a font. I think the basic idea to augment the default fontset is correct, it just needs to be fine-tuned to not mess up users' most popular setups. > > I don't think it's a good idea to > > go back to the previous arrangement where any font that claimed > > iso10646-1 support would be considered as covering symbols and > > punctuation well, because that means restoring the problems I tried to > > fix in the first place. > > In that case I don't understand why emacs -Q -font > -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 works now. If > Emacs is supposed to prefer Symbola to other fonts when displaying symbols, why > isn't it using Symbola in this case? Because -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 is different from -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1, I think. The current code on master already does use the default font if it supports these characters, but -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 doesn't, evidently. So Emacs tries to look for another font. Before my changes it would find -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1; after them, it tries Symbola first. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143422030524201 (code B ref 20727); Sat, 13 Jun 2015 18:32:01 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 18:31:45 +0000 Received: from localhost ([127.0.0.1]:52928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qDY-0006IH-5h for submit@debbugs.gnu.org; Sat, 13 Jun 2015 14:31:44 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:57959) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qDV-0006Hy-N6 for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 14:31:43 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NPW00N00AUXPJ00@mtaout25.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 21:27:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW00LLGB96R230@mtaout25.012.net.il>; Sat, 13 Jun 2015 21:27:06 +0300 (IDT) Date: Sat, 13 Jun 2015 21:31:32 +0300 From: Eli Zaretskii In-reply-to: <557C63ED.8050005@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83oakjpiij.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <83r3pfpmit.fsf@gnu.org> <557C63ED.8050005@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 10:10:05 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > Eli Zaretskii wrote: > > Actually, an even better solution might be this: we explicitly specify > > fixed-medium font with iso10646-1 registry for these popular > > characters_before_ Symbola. This is justified, I think, since the > > standard-fontset-spec on X specifies a fixed-medium font, so fit is > > iso10646-1 variant supports these commonly-used punctuation > > characters, it is a better candidate than Symbola, while the latter > > will still be used as fallback. > > > > WDYT? Could you try this on your system and see if it work? > > I'd be happy to try, but I'm afraid this is an area I don't know well Neither do I, so please bear with me. > and I > don't see why the existing code doesn't already do what you'r suggesting. > setup-default-fontset invokes (set-fontset-font "fontset-default" ... "Symbola" > nil 'prepend), and later invokes (set-fontset-font "fontset-default" nil '(nil . > "iso10646-1") nil 'prepend), so doesn't that mean that the iso10646-1 fonts are > prepended before Symbola and so should take priority over Symbola already? No, not according to my understanding. The latter part is fallback for when nothing is specified as either the script or the character range, which is not the case we are discussing. > Anyway, If you can send me a patch along the lines you're thinking, I can try it. Here's an example of the 1st idea. If it works well, we can exempt more ranges from Symbola (if you could tell me where to download the fixed-medium font, I could look at its coverage to decide which other ranges to exempt): diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 696940e..cb32daa 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -697,7 +697,11 @@ (defun setup-default-fontset () ;; covered well by Symbola. (dolist (symbol-subgroup '((#x0250 . #x02AF) ;; IPA Extensions - (#x2000 . #x206F) ;; General Punctuation + (#x2000 . #x2012) ;; General Punctuation + (#x2015 . #x2017) + (#x201F . #x202F) + (#x2031 . #x2038) + (#x203B . #x206F) (#x2070 . #x209F) ;; Superscripts and Subscripts (#x20A0 . #x20CF) ;; Currency Symbols (#x2100 . #x214F) ;; Letterlike Symbols The second idea is to add (set-fontset-font "fontset-default" '(#x2013 . #x2014) "-*-fixed-medium-r-*-*-*-*-*-*-*-*-iso10646-1" nil 'prepend) (set-fontset-font "fontset-default" '(#x2018 . #x201E) "-*-fixed-medium-r-*-*-*-*-*-*-*-*-iso10646-1" nil 'prepend) (set-fontset-font "fontset-default" '(#x2039 . #x203A) "-*-fixed-medium-r-*-*-*-*-*-*-*-*-iso10646-1" nil 'prepend) (and similarly for other ranges where that font has coverage) to setup-default-fontset _after_ the Symbola portion. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 18:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143422123626167 (code B ref 20727); Sat, 13 Jun 2015 18:48:01 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 18:47:16 +0000 Received: from localhost ([127.0.0.1]:52951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qSa-0006nz-7P for submit@debbugs.gnu.org; Sat, 13 Jun 2015 14:47:16 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40034) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qSY-0006ng-Hr for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 14:47:15 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 853951607F6; Sat, 13 Jun 2015 11:47:08 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tx5RPq9mIADu; Sat, 13 Jun 2015 11:47:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C8D57160812; Sat, 13 Jun 2015 11:47:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vTdmE9JhURI6; Sat, 13 Jun 2015 11:47:07 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 9FAA41607F6; Sat, 13 Jun 2015 11:47:07 -0700 (PDT) Message-ID: <557C7AAB.2090609@cs.ucla.edu> Date: Sat, 13 Jun 2015 11:47:07 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> In-Reply-To: <83pp4zpk2s.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii wrote: > I think you are judging by characters that are sufficiently well > covered. Try Emoji (something in the range U+1F600 to U+1F64F), which > was the trigger for this bug and my changes, or Enclosed Alphanumerics > (U+1F100 to U+1F1FFF), for example. Or even Supplemental Punctuation > (u+2E00 to u+2E7F) or Currency Symbols (u+20A0 to u+20CF). What I see > on my system is that several fonts claim coverage, but typically > support just a few characters, sometimes just one. That's the problem > I was trying to avoid. I tried the 8 specific characters that you mentioned (the endpoints of the ranges) with emacs -Q, and found that in my environment Symbola looked way better with U+1F600, U+1F64F, U+1F100 (where older Emacs just displays hex codes in boxes), that Symbola looks a bit worse with U+2E00 and U+20A0 (where older Emacs uses FreeSerif which better matches the FreeSerif characters elsewhere in the buffer), and that both fonts look bad (hex boxes) with U+1F1FFF, U+2E7F, U+20CF (as they're unassigned). From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 19:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143422215427598 (code B ref 20727); Sat, 13 Jun 2015 19:03:02 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 19:02:34 +0000 Received: from localhost ([127.0.0.1]:52970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qhN-0007B3-Sq for submit@debbugs.gnu.org; Sat, 13 Jun 2015 15:02:34 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40402) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qhM-0007As-Fb for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 15:02:32 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B67D51607F6; Sat, 13 Jun 2015 12:02:26 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dXiyt3y5okFQ; Sat, 13 Jun 2015 12:02:26 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E93E3160807; Sat, 13 Jun 2015 12:02:25 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ww2xNxsfb9AT; Sat, 13 Jun 2015 12:02:25 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BBFD61607F6; Sat, 13 Jun 2015 12:02:25 -0700 (PDT) Message-ID: <557C7E41.1070904@cs.ucla.edu> Date: Sat, 13 Jun 2015 12:02:25 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <83r3pfpmit.fsf@gnu.org> <557C63ED.8050005@cs.ucla.edu> <83oakjpiij.fsf@gnu.org> In-Reply-To: <83oakjpiij.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------000001090502070107090209" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------000001090502070107090209 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I tried both suggestions, and I'm afraid they didn't work. That is, I used the attached patch and ran "emacs -Q -r -font -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1", and Emacs displayed U+2018 LEFT SINGLE QUOTATION MARK using x:-unknown-Symbola-normal-normal-semicondensed-*-13-*-*-*-*-0-iso10646-1 (#x394), which is almost unreadable compared to the old way which displayed it using x:-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 (#x2018). --------------000001090502070107090209 Content-Type: text/plain; charset=UTF-8; name="ideas.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ideas.txt" ZGlmZiAtLWdpdCBhL2xpc3AvaW50ZXJuYXRpb25hbC9mb250c2V0LmVsIGIvbGlzcC9pbnRl cm5hdGlvbmFsL2ZvbnRzZXQuZWwKaW5kZXggNjk2OTQwZS4uN2M3NGYwZSAxMDA2NDQKLS0t IGEvbGlzcC9pbnRlcm5hdGlvbmFsL2ZvbnRzZXQuZWwKKysrIGIvbGlzcC9pbnRlcm5hdGlv bmFsL2ZvbnRzZXQuZWwKQEAgLTY5OCw2ICs2OTgsMTEgQEAKICAgKGRvbGlzdCAoc3ltYm9s LXN1Ymdyb3VwCiAgICAgICAgICAgICcoKCN4MDI1MCAuICN4MDJBRikJOzsgSVBBIEV4dGVu c2lvbnMKICAgICAgICAgICAgICAoI3gyMDAwIC4gI3gyMDZGKQk7OyBHZW5lcmFsIFB1bmN0 dWF0aW9uCisgICAgICAgICAgICAgKCN4MjAwMCAuICN4MjAxMikJOzsgR2VuZXJhbCBQdW5j dHVhdGlvbgorICAgICAgICAgICAgICgjeDIwMTUgLiAjeDIwMTcpCisgICAgICAgICAgICAg KCN4MjAxRiAuICN4MjAyRikKKyAgICAgICAgICAgICAoI3gyMDMxIC4gI3gyMDM4KQorICAg ICAgICAgICAgICgjeDIwM0IgLiAjeDIwNkYpCiAgICAgICAgICAgICAgKCN4MjA3MCAuICN4 MjA5RikJOzsgU3VwZXJzY3JpcHRzIGFuZCBTdWJzY3JpcHRzCiAgICAgICAgICAgICAgKCN4 MjBBMCAuICN4MjBDRikJOzsgQ3VycmVuY3kgU3ltYm9scwogICAgICAgICAgICAgICgjeDIx MDAgLiAjeDIxNEYpCTs7IExldHRlcmxpa2UgU3ltYm9scwpAQCAtNzM4LDYgKzc0MywxNiBA QAogICAoc2V0LWZvbnRzZXQtZm9udCAiZm9udHNldC1kZWZhdWx0IiAnKCN4MjUwMCAuICN4 MjU5RikKICAgICAgICAgICAgICAgICAgICAgIkZyZWVNb25vIiBuaWwgJ3ByZXBlbmQpCiAK KyAgKHNldC1mb250c2V0LWZvbnQgImZvbnRzZXQtZGVmYXVsdCIgJygjeDIwMTMgLiAjeDIw MTQpCisgICAgICAgICAgICAgICAgICAgICItKi1maXhlZC1tZWRpdW0tci0qLSotKi0qLSot Ki0qLSotaXNvMTA2NDYtMSIKKwkJICAgIG5pbCAncHJlcGVuZCkKKyAgKHNldC1mb250c2V0 LWZvbnQgImZvbnRzZXQtZGVmYXVsdCIgJygjeDIwMTggLiAjeDIwMUUpCisgICAgICAgICAg ICAgICAgICAgICItKi1maXhlZC1tZWRpdW0tci0qLSotKi0qLSotKi0qLSotaXNvMTA2NDYt MSIKKwkJICAgIG5pbCAncHJlcGVuZCkKKyAgKHNldC1mb250c2V0LWZvbnQgImZvbnRzZXQt ZGVmYXVsdCIgJygjeDIwMzkgLiAjeDIwM0EpCisgICAgICAgICAgICAgICAgICAgICItKi1m aXhlZC1tZWRpdW0tci0qLSotKi0qLSotKi0qLSotaXNvMTA2NDYtMSIKKwkJICAgIG5pbCAn cHJlcGVuZCkKKwogICA7OyBBcHBlbmQgQ0pLIGZvbnRzIGZvciBjaGFyYWN0ZXJzIG90aGVy IHRoYW4gaGFuLCBrYW5hLCBjamstbWlzYy4KICAgOzsgQXBwZW5kIGZvbnRzIGZvciBzY3Jp cHRzIHdob3NlIG5hbWUgaXMgYWxzbyBhIGNoYXJzZXQgbmFtZS4KICAgKGxldCogKChkYXRh IChidWlsZC1kZWZhdWx0LWZvbnRzZXQtZGF0YSkpCg== --------------000001090502070107090209-- From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 19:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143422224427752 (code B ref 20727); Sat, 13 Jun 2015 19:05:03 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 19:04:04 +0000 Received: from localhost ([127.0.0.1]:52974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qip-0007DY-PK for submit@debbugs.gnu.org; Sat, 13 Jun 2015 15:04:04 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:35366) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qin-0007D0-AV for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 15:04:02 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPW00I00COOH000@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 22:03:54 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW00IL3CYIG920@a-mtaout20.012.net.il>; Sat, 13 Jun 2015 22:03:54 +0300 (IDT) Date: Sat, 13 Jun 2015 22:03:53 +0300 From: Eli Zaretskii In-reply-to: <557C7AAB.2090609@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83mw03ph0m.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 11:47:07 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > I tried the 8 specific characters that you mentioned (the endpoints of the > ranges) with emacs -Q, and found that in my environment Symbola looked way > better with U+1F600, U+1F64F, U+1F100 (where older Emacs just displays hex codes > in boxes), that Symbola looks a bit worse with U+2E00 and U+20A0 (where older > Emacs uses FreeSerif which better matches the FreeSerif characters elsewhere in > the buffer) How did you get FreeSerif characters elsewhere in the buffer? Which characters were those? > both fonts look bad (hex boxes) with U+1F1FFF, U+2E7F, U+20CF (as > they're unassigned). Sorry, I mentioned the block limits without checking what parts are assigned. (Also, U+1F1FFF was a typo.) What do you see for U+2E3F and U+20BD? Anyway, does the idea of selectively removing codepoints from where we currently specify Symbola sound good, given these trials? From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 19:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143422255228204 (code B ref 20727); Sat, 13 Jun 2015 19:10:04 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 19:09:12 +0000 Received: from localhost ([127.0.0.1]:52978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qnn-0007Ko-Jl for submit@debbugs.gnu.org; Sat, 13 Jun 2015 15:09:11 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:33521) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3qnl-0007Kb-6C for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 15:09:10 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NPW00900CUIUA00@mtaout27.012.net.il> for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 22:04:29 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW001BJCZHWQ80@mtaout27.012.net.il>; Sat, 13 Jun 2015 22:04:29 +0300 (IDT) Date: Sat, 13 Jun 2015 22:09:01 +0300 From: Eli Zaretskii In-reply-to: <557C7E41.1070904@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83lhfnpgs2.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <83r3pfpmit.fsf@gnu.org> <557C63ED.8050005@cs.ucla.edu> <83oakjpiij.fsf@gnu.org> <557C7E41.1070904@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 12:02:25 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > I tried both suggestions, and I'm afraid they didn't work. That is, I used the > attached patch and ran "emacs -Q -r -font > -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1", and Emacs > displayed U+2018 LEFT SINGLE QUOTATION MARK using > x:-unknown-Symbola-normal-normal-semicondensed-*-13-*-*-*-*-0-iso10646-1 > (#x394), which is almost unreadable compared to the old way which displayed it > using x:-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 (#x2018). You forgot to delete this line, which was part of the patch I proposed: - (#x2000 . #x206F) ;; General Punctuation Without deleting it, the entire range of General Punctuation is still covered by Symbola. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 21:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14342303927971 (code B ref 20727); Sat, 13 Jun 2015 21:20:04 +0000 Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 21:19:52 +0000 Received: from localhost ([127.0.0.1]:53024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3sqG-00024U-38 for submit@debbugs.gnu.org; Sat, 13 Jun 2015 17:19:52 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42075) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3sqE-00024G-0k for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 17:19:50 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id F2375160811; Sat, 13 Jun 2015 14:19:43 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id X3LfGwlijCQU; Sat, 13 Jun 2015 14:19:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 415D8160812; Sat, 13 Jun 2015 14:19:43 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CsHPl7o5KU-m; Sat, 13 Jun 2015 14:19:43 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1D5571607BB; Sat, 13 Jun 2015 14:19:43 -0700 (PDT) Message-ID: <557C9E6E.3000002@cs.ucla.edu> Date: Sat, 13 Jun 2015 14:19:42 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> In-Reply-To: <83mw03ph0m.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Eli Zaretskii wrote: > How did you get FreeSerif characters elsewhere in the buffer? Which > characters were those? It was the other characters like "abc". But I'm afraid I can't reproduce the effect now. I've changed my default environment and perhaps that has affected things. > What do you see for U+2E3F and U+20BD? With 'emacs -Q' it's the same as in Emacs 24.4, namely, the Symbola glyphs. > Anyway, does the idea of selectively removing codepoints from where we > currently specify Symbola sound good, given these trials? After trying it a bit I'm worried that this will be flaky. Often the Symbola fonts are better (much better, if the default fonts lack the symbols), often worse (if both fonts have the symbols), and it all depends on a lot of settings. Users will notice when the Symbola fonts make things worse for them. Instead of using Symbola for all symbols, perhaps we should just use it for emoticons and other symbols known to be commonly bad. It's too bad that we can't fall back on Symbola only when the font is missing the character. I still don't understand things well enough to propose an implementation along those lines, though. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2015 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143424997410199 (code B ref 20727); Sun, 14 Jun 2015 02:47:02 +0000 Received: (at 20727) by debbugs.gnu.org; 14 Jun 2015 02:46:14 +0000 Received: from localhost ([127.0.0.1]:53081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3xw5-0002eP-QI for submit@debbugs.gnu.org; Sat, 13 Jun 2015 22:46:14 -0400 Received: from mtaout29.012.net.il ([80.179.55.185]:50044) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3xw3-0002eB-Af for 20727@debbugs.gnu.org; Sat, 13 Jun 2015 22:46:12 -0400 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NPW00J00XW51I00@mtaout29.012.net.il> for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 05:45:32 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPW00K5HYBVXC00@mtaout29.012.net.il>; Sun, 14 Jun 2015 05:45:31 +0300 (IDT) Date: Sun, 14 Jun 2015 05:46:03 +0300 From: Eli Zaretskii In-reply-to: <557C9E6E.3000002@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83k2v7ovmc.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> <557C9E6E.3000002@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 13 Jun 2015 14:19:42 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > > Anyway, does the idea of selectively removing codepoints from where we > > currently specify Symbola sound good, given these trials? > > After trying it a bit I'm worried that this will be flaky. Often the Symbola > fonts are better (much better, if the default fonts lack the symbols), often > worse (if both fonts have the symbols), and it all depends on a lot of settings. What settings are those? The only ones I think are relevant are the default fontset and the default font. Are there any others? > Instead of using Symbola for all symbols, perhaps we should just use it for > emoticons and other symbols known to be commonly bad. That's what I intend to do next: leave Symbola only for symbols that are not well covered by other fonts. Similar to the patch I've shown earlier. > It's too bad that we can't fall back on Symbola only when the font is missing > the character. I still don't understand things well enough to propose an > implementation along those lines, though. It'd be great if you or someone else did. My impression from reading the (quite convoluted) code was that building font selection on actually trying to see if each candidate font has a glyph for a character will require a complete rewrite of the font-selection logic. And even then, we have no way of knowing if the glyph we get looks good. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2015 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: eggert@cs.ucla.edu Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143429451023444 (code B ref 20727); Sun, 14 Jun 2015 15:09:02 +0000 Received: (at 20727) by debbugs.gnu.org; 14 Jun 2015 15:08:30 +0000 Received: from localhost ([127.0.0.1]:53977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z49WQ-000662-0d for submit@debbugs.gnu.org; Sun, 14 Jun 2015 11:08:30 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:53974) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z49WL-00065n-Vt for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 11:08:27 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NPX00300WJYVK00@a-mtaout20.012.net.il> for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 18:08:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPX003WFWPUOG70@a-mtaout20.012.net.il>; Sun, 14 Jun 2015 18:08:19 +0300 (IDT) Date: Sun, 14 Jun 2015 18:08:08 +0300 From: Eli Zaretskii In-reply-to: <83k2v7ovmc.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <83d20ypbtz.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> <557C9E6E.3000002@cs.ucla.edu> <83k2v7ovmc.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 14 Jun 2015 05:46:03 +0300 > From: Eli Zaretskii > Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org > > > Instead of using Symbola for all symbols, perhaps we should just use it for > > emoticons and other symbols known to be commonly bad. > > That's what I intend to do next: leave Symbola only for symbols that > are not well covered by other fonts. Similar to the patch I've shown > earlier. I tried to do this in commit fce59d4; please try it. I don't have an easy way of testing the change related to fixed-medium font, so please try the characters in the blocks for which I added preference for that font, and see that they are displayed on your system using "-misc-fixed-medium-r-...-iso10646-1" and not "Symbola". Thanks. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2015 16:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143429848029342 (code B ref 20727); Sun, 14 Jun 2015 16:15:03 +0000 Received: (at 20727) by debbugs.gnu.org; 14 Jun 2015 16:14:40 +0000 Received: from localhost ([127.0.0.1]:53985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4AYS-0007dB-1G for submit@debbugs.gnu.org; Sun, 14 Jun 2015 12:14:40 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56356) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4AYP-0007cx-GU for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 12:14:38 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 69EDE160807; Sun, 14 Jun 2015 09:14:31 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id qtqRWfwM7Oho; Sun, 14 Jun 2015 09:14:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 967D916080F; Sun, 14 Jun 2015 09:14:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KhyRfeN4LUxI; Sun, 14 Jun 2015 09:14:30 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 689FB160807; Sun, 14 Jun 2015 09:14:30 -0700 (PDT) Message-ID: <557DA863.3040009@cs.ucla.edu> Date: Sun, 14 Jun 2015 09:14:27 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> <557C9E6E.3000002@cs.ucla.edu> <83k2v7ovmc.fsf@gnu.org> In-Reply-To: <83k2v7ovmc.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Eli Zaretskii wrote: >> After trying it a bit I'm worried that this will be flaky. Often the Symbola >> fonts are better (much better, if the default fonts lack the symbols), often >> worse (if both fonts have the symbols), and it all depends on a lot of settings. > > What settings are those? The only ones I think are relevant are the > default fontset and the default font. Are there any others? I'm not sure, but I found that my ~/.emacs file, at the end, said "(custom-set-faces)" -- something I didn't put in there, but I suppose I ran "customize" at some point in the unremembered past, though I don't remember ever customizing fonts. I suppose the settings installed by custom-set-faces, whatever they are, alter the fonts installed by the recent change, and this messes up my testing. (Possibly they saved faces calculated *before* the recent change to Emacs, and custom-set-faces is trying to restore them?) I will comment out the customization code before doing further testing, but these are the sorts of glitches that I fear will affect other users. I took a look at your recent commit 2f09f8952489b5c90488faf66f71a4252aed5c2c and things are better on Ubuntu, thanks. In my default environment it now uses the fixed font so the Symbola stuff doesn't get in the way. I'll try it out on Fedora in a couple of days. I did try it with emacs -Q to get the Ubuntu 15.04 default font (Ubuntu Mono), and found that recent Emacs in many places looks nicer and in some places not as good. Focusing on the latter: U+201F DOUBLE HIGH-REVERSED-9 QUOTATION MARK now displays as xft:-unknown-Symbola-normal-normal-semicondensed-*-17-*-*-*-*-0-iso10646-1 (#x39B) which is spidery, whereas it formerly displayed as xft:-unknown-FreeMono-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1 (#x8A8) which is more legible. U+204F REVERSED SEMICOLON has a similar problem. U+2047 DOUBLE QUESTION MARK U+2048 QUESTION EXCLAMATION MARK U+2049 EXCLAMATION QUESTION MARK are too large in Symbola; the old FreeMono version was better. The currency symbols look worse than before: they used to be constant-width (most of them anyway) and matched Ubuntu Mono better. Perhaps we should leave them alone? Thanks for doing all this -- it must have taken you quite some time. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2015 17:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14343036384403 (code B ref 20727); Sun, 14 Jun 2015 17:41:03 +0000 Received: (at 20727) by debbugs.gnu.org; 14 Jun 2015 17:40:38 +0000 Received: from localhost ([127.0.0.1]:54031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4Btd-00018w-D1 for submit@debbugs.gnu.org; Sun, 14 Jun 2015 13:40:38 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:41530) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4BtZ-00018e-Ro for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 13:40:35 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NPY00L003D8JD00@mtaout27.012.net.il> for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 20:33:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPY00LT43FQ6J00@mtaout27.012.net.il>; Sun, 14 Jun 2015 20:33:26 +0300 (IDT) Date: Sun, 14 Jun 2015 20:37:44 +0300 From: Eli Zaretskii In-reply-to: <557DA863.3040009@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <837fr6p4wn.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> <557C9E6E.3000002@cs.ucla.edu> <83k2v7ovmc.fsf@gnu.org> <557DA863.3040009@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 14 Jun 2015 09:14:27 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > I'm not sure, but I found that my ~/.emacs file, at the end, said > "(custom-set-faces)" -- something I didn't put in there, but I suppose I ran > "customize" at some point in the unremembered past, though I don't remember ever > customizing fonts. I suppose the settings installed by custom-set-faces, > whatever they are, alter the fonts installed by the recent change, and this > messes up my testing. (Possibly they saved faces calculated *before* the recent > change to Emacs, and custom-set-faces is trying to restore them?) I will > comment out the customization code before doing further testing, but these are > the sorts of glitches that I fear will affect other users. We will have to wait and see, I guess. I hope the problems will not be acute, mostly when someone already have fontset customizations, and therefore can adapt. > U+201F DOUBLE HIGH-REVERSED-9 QUOTATION MARK now displays as > xft:-unknown-Symbola-normal-normal-semicondensed-*-17-*-*-*-*-0-iso10646-1 > (#x39B) which is spidery, whereas it formerly displayed as > xft:-unknown-FreeMono-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1 (#x8A8) > which is more legible. > > U+204F REVERSED SEMICOLON has a similar problem. > > U+2047 DOUBLE QUESTION MARK > U+2048 QUESTION EXCLAMATION MARK > U+2049 EXCLAMATION QUESTION MARK > are too large in Symbola; the old FreeMono version was better. These are all in the General Punctuation block. FreeMono covers only about one third of the block (40 characters out of 111); Symbola covers all of them. It's a simple change to prefer FreeMono for those characters that it supports (after all, FreeMono is a GNU font), but won't that have adverse effect if some other punctuation characters, unsupported by FreeMono, will have to be displayed? You can try something like (set-fontset-font "fontset-default" '(#x2047 . #x204B) "FreeMono") and then try typing characters from this range and also a few outside of it, but still between 2000..206F -- is the result acceptable? It looks weird on my system, but I think I'm less sensitive to these issues, so I'm not sure about others. > The currency symbols look worse than before: they used to be constant-width > (most of them anyway) and matched Ubuntu Mono better. Perhaps we should leave > them alone? Which font did they use before? In general, most fonts support only a handful of characters in the Currency Symbol block. I left only the Euro sign, which is almost universally supported, out of Symbola coverage. I could add a few more to the exempted codepoints, or indeed leave out the entire block, but then we could risk boxes with hex code with some fonts. > Thanks for doing all this -- it must have taken you quite some time. You're welcome. Yes, that's a lot of mundane work, but someone needs to do it. From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2015 20:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143431438120106 (code B ref 20727); Sun, 14 Jun 2015 20:40:03 +0000 Received: (at 20727) by debbugs.gnu.org; 14 Jun 2015 20:39:41 +0000 Received: from localhost ([127.0.0.1]:54078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4Egu-0005ED-SI for submit@debbugs.gnu.org; Sun, 14 Jun 2015 16:39:41 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:60044) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4Egs-0005E0-Bz for 20727@debbugs.gnu.org; Sun, 14 Jun 2015 16:39:39 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 59490160811; Sun, 14 Jun 2015 13:39:32 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id GYgn_x_89oTF; Sun, 14 Jun 2015 13:39:31 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6FEDD160810; Sun, 14 Jun 2015 13:39:31 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YQe4ce0s4jH2; Sun, 14 Jun 2015 13:39:31 -0700 (PDT) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 4E674160807; Sun, 14 Jun 2015 13:39:31 -0700 (PDT) Message-ID: <557DE683.2090804@cs.ucla.edu> Date: Sun, 14 Jun 2015 13:39:31 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> <557C9E6E.3000002@cs.ucla.edu> <83k2v7ovmc.fsf@gnu.org> <557DA863.3040009@cs.ucla.edu> <837fr6p4wn.fsf@gnu.org> In-Reply-To: <837fr6p4wn.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Eli Zaretskii wrote: > You can try > something like > > (set-fontset-font "fontset-default" '(#x2047 . #x204B) "FreeMono") > > and then try typing characters from this range and also a few outside > of it, but still between 2000..206F -- is the result acceptable? It > looks weird on my system, but I think I'm less sensitive to these > issues, so I'm not sure about others. For those two characters FreeMono does look nicer. There are a few other= =20 characters where perhaps some people would prefer FreeMono too. It's not= a big=20 deal, though. Perhaps we should just leave it that way until someone wit= h real=20 experience with those symbols (i.e., not me) needs to use them in real te= xt. >> The currency symbols look worse than before: they used to be constant-= width >> (most of them anyway) and matched Ubuntu Mono better. Perhaps we shou= ld leave >> them alone? > > Which font did they use before? Kind of a mishmash; see below. Ah, now I see which ones don't line up in= the=20 fixed-width font: it's the three at the end, which use Symbola. It's thi= s lack=20 of lining-up that is one of the hassles with Symbola. =E2=82=A0 20a0 DejaVu Sans Mono =E2=82=A1 20a1 FreeMono =E2=82=A2 20a2 FreeMono =E2=82=A3 20a3 FreeMono =E2=82=A4 20a4 FreeMono =E2=82=A5 20a5 FreeMono =E2=82=A6 20a6 FreeMono =E2=82=A7 20a7 FreeMono =E2=82=A8 20a8 FreeMono =E2=82=A9 20a9 FreeMono =E2=82=AA 20aa FreeMono =E2=82=AB 20ab FreeMono =E2=82=AC 20ac Ubuntu Mono =E2=82=AD 20ad Phetsarath OT =E2=82=AE 20ae Ubuntu Mono =E2=82=AF 20af FreeMono =E2=82=B0 20b0 FreeMono =E2=82=B1 20b1 FreeMono =E2=82=B2 20b2 FreeMono =E2=82=B3 20b3 FreeMono =E2=82=B4 20b4 Ubuntu Mono =E2=82=B5 20b5 FreeMono =E2=82=B6 20b6 FreeSerif =E2=82=B7 20b7 FreeSerif =E2=82=B8 20b8 FreeMono =E2=82=B9 20b9 Ubuntu Mono =E2=82=BA 20ba DejaVu Sans =E2=82=BB 20bb Symbola =E2=82=BC 20bc Symbola =E2=82=BD 20bd Symbola From unknown Sun Jun 22 03:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jun 2015 16:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Paul Eggert Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14343849121525 (code B ref 20727); Mon, 15 Jun 2015 16:16:03 +0000 Received: (at 20727) by debbugs.gnu.org; 15 Jun 2015 16:15:12 +0000 Received: from localhost ([127.0.0.1]:54897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4X2U-0000OU-IK for submit@debbugs.gnu.org; Mon, 15 Jun 2015 12:15:11 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:56137) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4X2Q-0000Ng-Lj for 20727@debbugs.gnu.org; Mon, 15 Jun 2015 12:15:08 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NPZ00700U95PD00@mtaout28.012.net.il> for 20727@debbugs.gnu.org; Mon, 15 Jun 2015 19:13:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPZ0011FUF1LQ70@mtaout28.012.net.il>; Mon, 15 Jun 2015 19:13:49 +0300 (IDT) Date: Mon, 15 Jun 2015 19:14:01 +0300 From: Eli Zaretskii In-reply-to: <557DE683.2090804@cs.ucla.edu> X-012-Sender: halo1@inter.net.il Message-id: <83r3pdne46.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> <837fr8q8dr.fsf@gnu.org> <83y4jnq0vz.fsf@gnu.org> <557C53E2.6070706@cs.ucla.edu> <83si9vpo0i.fsf@gnu.org> <557C633D.8090508@cs.ucla.edu> <83pp4zpk2s.fsf@gnu.org> <557C7AAB.2090609@cs.ucla.edu> <83mw03ph0m.fsf@gnu.org> <557C9E6E.3000002@cs.ucla.edu> <83k2v7ovmc.fsf@gnu.org> <557DA863.3040009@cs.ucla.edu> <837fr6p4wn.fsf@gnu.org> <557DE683.2090804@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 14 Jun 2015 13:39:31 -0700 > From: Paul Eggert > CC: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, > 20727@debbugs.gnu.org > > You can try > something like > > (set-fontset-font "fontset-default" '(#x2047 . #x204B) "FreeMono") > > and then try typing characters from this range and also a few outside > of it, but still between 2000..206F -- is the result acceptable? It > looks weird on my system, but I think I'm less sensitive to these > issues, so I'm not sure about others. > > For those two characters FreeMono does look nicer. There are a few other characters where perhaps some people would prefer FreeMono too. It's not a big deal, though. Perhaps we should just leave it that way until someone with real experience with those symbols (i.e., not me) needs to use them in real text. I agree, let's leave these alone. > The currency symbols look worse than before: they used to be constant-width > (most of them anyway) and matched Ubuntu Mono better. Perhaps we should leave > them alone? > > Which font did they use before? Yes, the changes I committed yesterday as part of fce59d4 make fixed-medium-...-iso10646-1 font be preferred for this block, and according to my references most of the currency symbols are covered by that font, but not by Ubuntu Mono. So on Fedora I expect you to see them displayed with fixed-medium. > Kind of a mishmash; see below. Ah, now I see which ones don't line up in the fixed-width font: it's the three at the end, which use Symbola. It's this lack of lining-up that is one of the hassles with Symbola. Unfortunately, monospaced fonts generally have very poor coverage of the punctuation and symbols blocks, so we are stuck with variable-pitch fonts for at least some of those. I tried to improve the situation to some extent in 643e052, by limiting the portion of the Currency Symbols range where we specify Symbola to the symbols that are almost never covered by general-purpose fonts (the ones beyond U+20B5), but that might mean some users will see boxes with hex codes for a few currency symbols. We shall see.