From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20727: 24.5; Font fallback doesn't work for the Emoji range Date: Sat, 13 Jun 2015 10:04:32 +0300 Message-ID: <83h9qcqebj.fsf@gnu.org> References: <557B47B6.4080600@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1434179125 11849 80.91.229.3 (13 Jun 2015 07:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2015 07:05:25 +0000 (UTC) Cc: v.schneidermann@gmail.com, andrewjmoreton@gmail.com, 20727@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 09:05:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z3fVD-0003g1-Fg for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 09:05:15 +0200 Original-Received: from localhost ([::1]:54961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3fVC-0002xH-IL for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 03:05:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3fV5-0002v3-5E for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:05:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3fV1-00067R-TD for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:05:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3fV1-00066i-PD for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3fV1-0001zd-3o for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:05:03 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14341790867636 (code B ref 20727); Sat, 13 Jun 2015 07:05:02 +0000 Original-Received: (at 20727) by debbugs.gnu.org; 13 Jun 2015 07:04:46 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: <557B47B6.4080600@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103880 Archived-At: > 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.