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: Sun, 14 Jun 2015 20:37:44 +0300 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1434303685 11453 80.91.229.3 (14 Jun 2015 17:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Jun 2015 17:41: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 Sun Jun 14 19:41:13 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 1Z4BuC-0003yb-Os for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jun 2015 19:41:13 +0200 Original-Received: from localhost ([::1]:59237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4BuB-0006a2-Ua for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jun 2015 13:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Bu7-0006Zn-RK for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 13:41:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4Bu4-0005Hc-Hz for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 13:41:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Bu4-0005HT-ET for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 13:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z4Bu3-00019p-F7 for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 13:41: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: 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 Original-Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.14343036384403 (code B ref 20727); Sun, 14 Jun 2015 17:41:03 +0000 Original-Received: (at 20727) by debbugs.gnu.org; 14 Jun 2015 17:40:38 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: <557DA863.3040009@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:103941 Archived-At: > 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.