From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#2994: Recent change to font.c:font_load_for_lface affects variable-pitch face in the modeline Date: Tue, 21 Apr 2009 16:40:24 +0900 Message-ID: References: Reply-To: Kenichi Handa , 2994@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1240301929 29664 80.91.229.12 (21 Apr 2009 08:18:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2009 08:18:49 +0000 (UTC) Cc: taylor@metasyntax.net To: Juanma Barranquero , 2994@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 10:20:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LwBD4-00085a-Hs for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2009 10:20:06 +0200 Original-Received: from localhost ([127.0.0.1]:49963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwBBf-0003o0-3d for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2009 04:18:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwBAf-0003Z6-Fy for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 04:17:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwBAa-0003X6-I5 for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 04:17:36 -0400 Original-Received: from [199.232.76.173] (port=40087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwBAa-0003Wy-AT for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 04:17:32 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:55601) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwBAZ-0000r3-Lg for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 04:17:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwBAY-0005zx-Uf for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 04:17:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3L83qIM014763; Tue, 21 Apr 2009 01:03:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3L7j55o010024; Tue, 21 Apr 2009 00:45:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Apr 2009 07:45:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2994 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2994-submit@emacsbugs.donarmstrong.com id=B2994.12402996098724 (code B ref 2994); Tue, 21 Apr 2009 07:45:05 +0000 Original-Received: (at 2994) by emacsbugs.donarmstrong.com; 21 Apr 2009 07:40:09 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3L7e4XI008522 for <2994@emacsbugs.donarmstrong.com>; Tue, 21 Apr 2009 00:40:06 -0700 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n3L7e3U1023742; Tue, 21 Apr 2009 16:40:03 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n3L7e3YR027903; Tue, 21 Apr 2009 16:40:03 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id n3L7e3iB011875; Tue, 21 Apr 2009 16:40:03 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LwAaf-0007HF-00; Tue, 21 Apr 2009 16:40:25 +0900 In-reply-to: (message from Juanma Barranquero on Tue, 14 Apr 2009 13:57:12 +0200) X-detected-kernel: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Tue, 21 Apr 2009 04:17:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27378 Archived-At: In article , Juanma Barranquero writes: > This change affects using variable-pitch on the modeline: > -------------------------------------------------------------------------------- > 2009-04-13 Kenichi Handa > * font.c [...] > (font_load_for_lface): Get a font that supports at least ASCII > characters. This change requires the support of has_char method in a font-driver, but I noticed that it is is not supported on Windows and Mac. So, I cancelled that change. That change was to avoid selecting a bitmap font of `ja' and `ko' adstyle in Xft backend. But as the backned returns the correct `avgwidth' property for bitmap fonts now, I think such a font won't be selected if a user specifies a preferable `avgwidth' as this: In article <20090407022803.GB5160@metasyntax.net>, Taylor Venable writes: [...] > My .emacs file looks like this: > (defvar taylor-misc-fixed-large "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1" > "Miscellaneous fixed Unicode font - larger version.") Taylor, could you please try again with the latest code? --- Kenichi Handa handa@m17n.org