From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francesco Mazzoli Newsgroups: gmane.emacs.help Subject: Re: Font in mode line Date: Tue, 3 Dec 2013 20:48:23 +0000 (UTC) Message-ID: References: <83fvqia4o9.fsf@gnu.org> <18c0ff3d-ba8d-4b27-845b-85d64a35f980@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386103749 1072 80.91.229.3 (3 Dec 2013 20:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2013 20:49:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 03 21:49:13 2013 Return-path: Envelope-to: geh-help-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 1Vnwu8-0003y1-88 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 21:49:12 +0100 Original-Received: from localhost ([::1]:44847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnwu7-0002ey-Kh for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Dec 2013 15:49:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnwtp-0002bX-SH for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 15:49:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnwti-0004d5-Ih for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 15:48:53 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:54778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnwti-0004cl-Cu for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 15:48:46 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vnwtg-0003kD-HE for help-gnu-emacs@gnu.org; Tue, 03 Dec 2013 21:48:44 +0100 Original-Received: from xdsl-188-155-179-93.adslplus.ch ([188.155.179.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 21:48:44 +0100 Original-Received: from f by xdsl-188-155-179-93.adslplus.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Dec 2013 21:48:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 188.155.179.93 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94814 Archived-At: Jason Rumney gmail.com> writes: > > On Thursday, 28 November 2013 08:30:47 UTC+8, Francesco Mazzoli wrote: > > > What I don't understand is this font change (in this case in terms of > > typographic style) happens only in the mode-line faces. To make it > > clear again, I use that font successfully elsewhere (e.g. in the > > `default' face). > > I think the default face prefers Latin fonts (other scripts are pulled in by the default fontset rules). > Probably if the default font is set first, mode-line face subsequently prefers the font that is already > loaded over one that is not, but otherwise it seems it is not prefering latin fonts in the same way the > default face does, so it takes the first one it sees (which may be as simple as medium coming alphabetically > before normal, or it may be to do with paths where the fonts are found or the backend that is serving them). Mhm. So if I set the `default' face to the `8x13' font (what I want for the mode line) everything displays fine. Then I set the mode line faces to `8x13' and things keep displaying fine, and `C-u C-x =' displays what you'd expect regarding the mode line faces. Then if I change `default' back to "9x15", the mode line goes to back to the "bad" font. This hints at the fact that this choice between Latin fonts and some other script is related to what `default' face, which seems weird. Moreover, when using the fontset string I'm fully specifying the font... In any case, where can I find more information on this preference for Latin fonts? Thanks, Francesco