From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: recent emacs font problems? Date: Thu, 12 Jun 2003 18:29:43 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1276F87E-9CF3-11D7-A1FC-00039363E640@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1055435524 14639 80.91.224.249 (12 Jun 2003 16:32:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2003 16:32:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 12 18:32:02 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19QUza-0003nl-00 for ; Thu, 12 Jun 2003 18:32:02 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19QVL7-0005L5-00 for ; Thu, 12 Jun 2003 18:54:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QV0P-00029j-Tw for emacs-devel@quimby.gnus.org; Thu, 12 Jun 2003 12:32:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19QV09-00027q-Dm for emacs-devel@gnu.org; Thu, 12 Jun 2003 12:32:37 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19QUzg-0001wy-2K for emacs-devel@gnu.org; Thu, 12 Jun 2003 12:32:08 -0400 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QUyG-0001eb-UZ; Thu, 12 Jun 2003 12:30:41 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44])h5CHJcHd007714; Thu, 12 Jun 2003 19:19:39 +0200 Original-To: rms@gnu.org In-Reply-To: X-Mailer: Apple Mail (2.552) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15062 > Thank you. However, I still can't understand how things are > supposed to > work. In my .Xdefaults I set default font to courier-14. Now if I > do (set-face-attribute 'default nil :family "fixed"), shall new > frames > get courier-14 or fixed-14? > > The set-face-attribute call should certainly override the X resource. > So the family must be "fixed". Okay. > > Currently they get fixed-14 but with the > font metrics of courier-14, > > I am not completely sure what that means. Do you mean that Emacs > chooses the font fixed-14 but uses some data taken from the wrong > font? That is clearly a bug. Whichever font is chosen, Emacs > should use it consistently. It means that when Emacs calculates pixel width and height of the new frame it uses the width and height of courier-14, but then renders text with fixed-14. I think the default face for the new frame has not been realized when this calculation occurs. > > If I select courier 12 from the shift-down-1 menu, shall I get > courier-12 > or fixed-12? Currently I get fixed-12 (with courier-12 font > metrics). > > This should select courier 12, the font that you chose. Thanks, Jan D.