From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Default face problem [was: Re: incomplete header-line with 3d boxes and prop fonts] Date: Mon, 01 May 2006 11:41:18 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1146451345 18556 80.91.229.2 (1 May 2006 02:42:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 May 2006 02:42:25 +0000 (UTC) Cc: wilde@sha-bang.de, jyavner@member.fsf.org, emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 04:42:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FaOMS-0007cs-Kf for ged-emacs-devel@m.gmane.org; Mon, 01 May 2006 04:42:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaOMS-0005x0-77 for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 22:42:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaOMD-0005uM-LN for emacs-devel@gnu.org; Sun, 30 Apr 2006 22:41:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaOMC-0005sC-J0 for emacs-devel@gnu.org; Sun, 30 Apr 2006 22:41:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaOMC-0005s1-En for emacs-devel@gnu.org; Sun, 30 Apr 2006 22:41:52 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FaOPs-0006TM-Oe; Sun, 30 Apr 2006 22:45:41 -0400 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k412fLwn025201; Mon, 1 May 2006 11:41:21 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k412fJCu029473; Mon, 1 May 2006 11:41:19 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1FaOLe-0001Vr-00; Mon, 01 May 2006 11:41:18 +0900 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53704 Archived-At: In article , storm@cua.dk (Kim F. Storm) writes: > storm@cua.dk (Kim F. Storm) writes: >> Sascha Wilde writes: >> >>>>> I still do see a heavy misalignment of the header line in ses (with >>>>> X11), but only when using a font with an odd size >>>>> (-*-terminus-medium-r-*-*-17-*-*-*-*-*-iso8859-1 here). >> >> I see it too. >> >> If I customize the default face, and change the height from 99 to 100, >> it works again. I'll look into what's wrong. This is because the current Emacs refuses to use an auto-scaled font because it's usually too agree to use for the editing work. It at first checks the availability of the specified font (without checking it's auto-scaled or not), but, later on deciding a font for a face, it lists fonts matching with family-name and registry-name, then selects the best one among them. On this selection, auto-scaled font is refused even if scalable-fonts-allowed is non-nil. So, in your case the 16-dots font (that is surely included in terminus font package) is selected. --- Kenichi Handa handa@m17n.org