From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: X fonts handling in 23.1 Date: Sat, 01 Aug 2009 10:51:57 +1000 Organization: Rapt Technologies Message-ID: <87bpn02w5u.fsf@lion.rapttech.com.au> References: <87ljm5669a.fsfhello@somewhere.com> <3b9893450907310051t51c94ac6h9e6b907eb3bf9dfd@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249090847 4423 80.91.229.12 (1 Aug 2009 01:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2009 01:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 03:40:41 2009 Return-path: Envelope-to: geh-help-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 1MX3aS-000622-OO for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Aug 2009 03:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:58715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MX3aS-0001gf-7M for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jul 2009 21:40:40 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news.alt.net!news-xfer.nntp.sonic.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:AGiMvOhCf0UuFp8n8cYKrchCyRY= Original-Lines: 61 Original-NNTP-Posting-Host: f566388b.news.astraweb.com Original-X-Trace: DXC=@gO7U852f; <6fPZ:J:\J] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66603 Archived-At: Dmitry Antipov writes: > Hello all, > > my ~/.Xdefaults contains: > > Emacs*font: -misc-* > > And 22.3 starts with the expected font. But 23.1 doesn't. > > Moreover, I can start 22.3 with '-fn fixed' and then do > (set-frame-font "-misc-*"), and it toggles the font > as expected. But, again, not for 23.1. > > Both versions are configured with: > > ./configure --without-dbus --without-rsvg --without-sound \ > --with-x-toolkit=lucid --without-xft --without-pop > > I've tried with '-Q' and with 'LANG=C', but it doesn't matter. > > This issue was observed on two Fedora 10 and Fedora 11 systems. > Font handling in 23 is all new and supports antialiased fonts. Check the NEWS file for details. I found I had to add Emacs.fontBackend: xft to my .Xresources file in order to get fonts working correctly. This is on a Debian testing/unstable box. Why are you building with lucid rather than the default GTK? Also, why disable dbus support? Did the output from ./configure give anything useful? Given its a new release, I'd be inclined to build just using all defaults to start with and then see if that works and slowly remove what you don't want. This is also a good way to see how things have changed and then enable you to re-evaluate what is not required. For the last month or so, the commands I've used to build (from CVS) are ./configure prefix=/usr/local make bootstrap make install The font I'm using is -fn "DejaVu Sans Mono-14" and it works very nicely. HTH Tim -- tcross (at) rapttech dot com dot au