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: Tue, 09 Jun 2015 18:17:20 +0300 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433863228 24946 80.91.229.3 (9 Jun 2015 15:20:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2015 15:20:28 +0000 (UTC) Cc: 20727@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 09 17:20:17 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 1Z2LK3-0005Gi-W1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 17:20:16 +0200 Original-Received: from localhost ([::1]:35679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2LK3-0000f3-0p for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jun 2015 11:20:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2LJy-0000ei-IE for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 11:20:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2LJt-0004l1-Ne for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 11:20:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2LJt-0004kD-LC for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 11:20:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z2LJs-0007Hz-D4 for bug-gnu-emacs@gnu.org; Tue, 09 Jun 2015 11:20:04 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 20727-submit@debbugs.gnu.org id=B20727.143386315127945 (code B ref 20727); Tue, 09 Jun 2015 15:20:04 +0000 Original-Received: (at 20727) by debbugs.gnu.org; 9 Jun 2015 15:19:11 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: 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:103770 Archived-At: > 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?