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#3081: 23.0.92; x-list-fonts no longer gives correct result - substitutes * for fixed font size Date: Thu, 23 Apr 2009 11:07:47 +0900 Message-ID: References: <000b01c9c36c$460c3820$c2b22382@us.oracle.com> Reply-To: Kenichi Handa , 3081@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1240453454 12156 80.91.229.12 (23 Apr 2009 02:24:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2009 02:24:14 +0000 (UTC) To: Drew Adams , 3081@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 04:25:33 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 1Lwod1-0007pg-OL for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2009 04:25:32 +0200 Original-Received: from localhost ([127.0.0.1]:33190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lwobc-0004oZ-9W for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2009 22:24:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwobY-0004oM-Jy for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2009 22:24:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwobU-0004nw-3J for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2009 22:24:00 -0400 Original-Received: from [199.232.76.173] (port=52947 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwobT-0004nm-QA for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2009 22:23:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59183) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwobT-0001wp-0m for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2009 22:23:55 -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 n3N2Nqu3015785; Wed, 22 Apr 2009 19:23:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3N2F34G013358; Wed, 22 Apr 2009 19:15:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 23 Apr 2009 02:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3081 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3081-submit@emacsbugs.donarmstrong.com id=B3081.124045244811979 (code B ref 3081); Thu, 23 Apr 2009 02:15:03 +0000 Original-Received: (at 3081) by emacsbugs.donarmstrong.com; 23 Apr 2009 02:07:28 +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 n3N27PQk011973 for <3081@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 19:07:26 -0700 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n3N27NpW003245; Thu, 23 Apr 2009 11:07:23 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n3N27NAt020006; Thu, 23 Apr 2009 11:07:23 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n3N27NSq015654; Thu, 23 Apr 2009 11:07:23 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LwoLr-0004hH-W2; Thu, 23 Apr 2009 11:07:47 +0900 In-reply-to: <000b01c9c36c$460c3820$c2b22382@us.oracle.com> (drew.adams@oracle.com) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 22 Apr 2009 22:24:00 -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:27407 Archived-At: In article <000b01c9c36c$460c3820$c2b22382@us.oracle.com>, "Drew Adams" writes: > I have this defcustom, which I use to choose a small font: > (defcustom palette-font > (and window-system > (or (car (x-list-fonts > "-*-Courier-*-*-*-*-5-*-*-*-*-*-iso8859-1" nil nil 1)) ; 1 > (car (x-list-fonts "-*-fixed-*-*-*-*-5-*-*-*-*-*-iso8859-1" > nil nil 1)) ; 2 > (car (x-list-fonts > "-*-Terminal-*-*-*-*-5-*-*-*-*-*-iso8859-1" nil nil 1)) ; 3 > (car (x-list-fonts "-*-*-*-*-*-*-5-*-*-*-*-*-iso8859-1" nil > nil 1)))) ;4 > "...") [...] > In Emacs 23, these are the values: > 1. ("-outline-Courier-bold-normal-normal-mono-*-*-*-*-c-*-iso8859-1") > 2. nil > 3. nil > 4. ("-outline-Lucida Sans > Typewriter-bold-normal-normal-sans-*-*-*-*-c-*-iso8859-1") > The first difference to notice is #4: a completely different font > family is used. Why should this be? Anyway, I don't really have a > problem with this. If you don't specify a family, which family is selected is completely arbitrary. > The problem is that the font size is not correct: * instead of a real > font size. The whole point of this defcustom is to try to find a > default value for the option that provides a tiny font that the user > has available. It tries to match various fonts of size 5, until it > finds a match. I installed a fix. Please try again. --- Kenichi Handa handa@m17n.org