GNU bug report logs - #20727
24.5; Font fallback doesn't work for the Emoji range

Previous Next

Package: emacs;

Reported by: Vasilij Schneidermann <v.schneidermann <at> gmail.com>

Date: Wed, 3 Jun 2015 17:23:01 UTC

Severity: normal

Tags: confirmed

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 20727 <at> debbugs.gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>, Vasilij Schneidermann <v.schneidermann <at> gmail.com>, Andy Moreton <andrewjmoreton <at> gmail.com>
Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range
Date: Fri, 12 Jun 2015 13:57:26 -0700
[Message part 1 (text/plain, inline)]
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 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, so perhaps the change should be enabled only for characters 
that are not already available in the user-selected font?  In the 
meantime, in master commit 203e84c6cf9b8356e376cc748b5ed331df96dc9e I 
worked around my problem by skipping the change if Symbola is not installed.
[Screenshot from 2015-06-12 12:59:19.png (image/png, attachment)]

This bug report was last modified 9 years and 346 days ago.

Previous Next


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