From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#3081: 23.0.92; x-list-fonts no longer gives correct result - substitutes * forfixed font size Date: Wed, 22 Apr 2009 22:01:45 -0700 Message-ID: <003001c9c3d0$9a15bea0$0200a8c0@us.oracle.com> References: <000b01c9c36c$460c3820$c2b22382@us.oracle.com> Reply-To: Drew Adams , 3081@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240464257 1591 80.91.229.12 (23 Apr 2009 05:24:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2009 05:24:17 +0000 (UTC) To: "'Kenichi Handa'" , <3081@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 07:25:35 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 1LwrRG-0000jm-PZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2009 07:25:35 +0200 Original-Received: from localhost ([127.0.0.1]:49831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwrPr-0003fV-OJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2009 01:24:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwrPl-0003fQ-H4 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 01:24:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwrPf-0003c4-W7 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 01:24:00 -0400 Original-Received: from [199.232.76.173] (port=48759 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwrPf-0003by-PQ for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 01:23:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36902) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwrPf-0003yz-BY for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 01: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 n3N5NqCL029293; Wed, 22 Apr 2009 22:23:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3N5A3Ho025688; Wed, 22 Apr 2009 22:10:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 23 Apr 2009 05:10: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.124046292523627 (code B ref 3081); Thu, 23 Apr 2009 05:10:03 +0000 Original-Received: (at 3081) by emacsbugs.donarmstrong.com; 23 Apr 2009 05:02:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rgminet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3N51vOD023621 for <3081@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 22:01:59 -0700 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n3N51pxG028380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Apr 2009 05:01:52 GMT Original-Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n3N51lm9007835; Thu, 23 Apr 2009 05:01:49 GMT Original-Received: from dradamslap1 (/98.210.250.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Apr 2009 22:01:46 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcnDuFq1KxTjjEuTTee1bqXQLTJChgAF9IjA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt700.oracle.com [141.146.40.70] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020A.49EFF63D.00B4:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 23 Apr 2009 01: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:27412 Archived-At: > > 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. I guess you're speaking about #2 and #3 - the nil values. That's OK. (And thanks for the explanation.) > > 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. Thanks for the quick fix. What do I need to pick up, to try it? Is this a Lisp fix (which library)? If not, I don't build Emacs, so I'll just take your word for it, and I'll check it in the next MS Windows binary that I can get hold of. Thx - Drew