From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Emacs chooses wrong bold font Date: Sun, 25 May 2008 01:01:25 +0200 Message-ID: <878wxze27u.fsf@escher.local.home> References: <87tzgp59x7.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211670323 21485 80.91.229.12 (24 May 2008 23:05:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 May 2008 23:05:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 25 01:06:04 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K02oI-0006xd-G3 for ged-emacs-devel@m.gmane.org; Sun, 25 May 2008 01:05:58 +0200 Original-Received: from localhost ([127.0.0.1]:54276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K02nX-0003AN-Md for ged-emacs-devel@m.gmane.org; Sat, 24 May 2008 19:05:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K02nS-00036o-Ob for emacs-devel@gnu.org; Sat, 24 May 2008 19:05:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K02nR-00034K-BU for emacs-devel@gnu.org; Sat, 24 May 2008 19:05:05 -0400 Original-Received: from [199.232.76.173] (port=60287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K02nR-000348-90 for emacs-devel@gnu.org; Sat, 24 May 2008 19:05:05 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:47181 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K02nQ-0003DP-O3 for emacs-devel@gnu.org; Sat, 24 May 2008 19:05:05 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1K02nP-0006tU-2z for emacs-devel@gnu.org; Sat, 24 May 2008 23:05:03 +0000 Original-Received: from i5387eb1b.versanet.de ([83.135.235.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 May 2008 23:05:03 +0000 Original-Received: from Stephen.Berman by i5387eb1b.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 May 2008 23:05:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387eb1b.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97672 Archived-At: On Fri, 23 May 2008 17:15:16 +0200 Stephen Berman wrote: > On Thu, 22 May 2008 11:41:32 +0900 Kenichi Handa wrote: > >> In article , Glenn Morris writes: >> >>> Something in the latest round of font changes has messed up my bold >>> fonts again. >> >> I installed a fix. > > In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of > 2008-05-23 on escher, which contains your fix, variable-pitch face with > bold weight is not realized as family Helvetica, at least in many cases > (but see the bottom of this post). For example, info-menu-header, which > has the latter attributes, is realized as -Adobe-Adobe > Courier-bold-normal-normal-*-12-*-*-*-m-*-iso8859-1, and info-title-1, > which inherits these attributes, is realized as -unknown-DejaVu > Serif-bold-normal-normal-*-21-*-*-*-*-0-iso8859-1. I see this both when > I start Emacs with -fn "Dejavu Sans Mono-10" and also with -fn "Adobe > Helvetica-10". This was evidently due to just using the xft backend; after adding the x backend, the bold faces that inherit variable-pitch face are also realized by Helvetica font. Steve Berman