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 Date: Thu, 11 May 2006 13:35:16 +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 1147322202 22428 80.91.229.2 (11 May 2006 04:36:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 May 2006 04:36:42 +0000 (UTC) Cc: wilde@sha-bang.de, jyavner@member.fsf.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 11 06:36:40 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 1Fe2ui-0003LX-5L for ged-emacs-devel@m.gmane.org; Thu, 11 May 2006 06:36:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fe2uh-0000KT-LV for ged-emacs-devel@m.gmane.org; Thu, 11 May 2006 00:36:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fe2uV-0000KD-40 for emacs-devel@gnu.org; Thu, 11 May 2006 00:36:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fe2uT-0000Jt-Mm for emacs-devel@gnu.org; Thu, 11 May 2006 00:36:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fe2uT-0000Jm-Cd for emacs-devel@gnu.org; Thu, 11 May 2006 00:36:21 -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 1Fe2vr-0005GZ-Ix; Thu, 11 May 2006 00:37:48 -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 k4B4aEq9027005; Thu, 11 May 2006 13:36:14 +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 k4B4aEGi010558; Thu, 11 May 2006 13:36:14 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1Fe2tQ-0003zJ-00; Thu, 11 May 2006 13:35:16 +0900 Original-To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Thu, 11 May 2006 06:40:30 +0300) 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:54240 Archived-At: In article , Eli Zaretskii writes: >> From: Kenichi Handa >> CC: wilde@sha-bang.de, jyavner@member.fsf.org, emacs-devel@gnu.org >> Date: Thu, 11 May 2006 09:36:20 +0900 >> >> In article , Eli Zaretskii writes: >> >> >> Perhaps, "#ifdef HAVE_X_WINDOWS ... #endif" is not >> >> necessary, but I can't test it on the other platform, and it >> >> seems that this problem happens only on X. >> >> > If you tell me how to reproduce it, I could try it on MS-Windows. >> >> I don't know the recipe for MS-Windows. > What is the recipe for X? Start emacs by specifying a bitmap font with non-existing size. For instance, if you have these fonts, % xlsfonts -fn -etl-fixed-medium-r-normal-*-iso8859-1 -etl-fixed-medium-r-normal--0-0-72-72-c-0-iso8859-1 -etl-fixed-medium-r-normal--14-140-72-72-c-70-iso8859-1 -etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-1 -etl-fixed-medium-r-normal--18-180-72-72-c-90-iso8859-1 -etl-fixed-medium-r-normal--24-240-72-72-c-120-iso8859-1 start Emacs as this: % emacs -fn -etl-fixed-medium-r-normal--17-*-*-*-*-*-iso8859-1 X server can open a font auto-scaled from one of the existing bitmap fonts. But, such a font is rejected while choosing a font for the default face, which leads to mismatch of the frame font and the default face font. The fix is to the adjust frame's font to what chosen for the default face font in such a case. --- Kenichi Handa handa@m17n.org