From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: How to use xft fonts with Lucid linked Emacs Date: Fri, 8 Jul 2011 09:31:40 -0700 Organization: Foolinux Message-ID: <20110708093140.3afe743c@foolinux.dyndns.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310235631 7524 80.91.229.12 (9 Jul 2011 18:20:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2011 18:20:31 +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 Jul 09 20:20:27 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfc8h-0004Lh-HH for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jul 2011 20:20:27 +0200 Original-Received: from localhost ([::1]:50077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfc8g-0002ck-BJ for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jul 2011 14:20:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfEVC-0001eg-Ft for help-gnu-emacs@gnu.org; Fri, 08 Jul 2011 13:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfEVB-0005Av-0g for help-gnu-emacs@gnu.org; Fri, 08 Jul 2011 13:06:06 -0400 Original-Received: from li225-69.members.linode.com ([173.255.215.69]:44009 helo=ahiker.homeip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfEVA-0005AO-Ma for help-gnu-emacs@gnu.org; Fri, 08 Jul 2011 13:06:04 -0400 Original-Received: from adsl-75-30-186-74.dsl.pltn13.sbcglobal.net ([75.30.186.74] helo=foolinux.dyndns.org) by ahiker.homeip.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1QfDxz-0002if-OH for help-gnu-emacs@gnu.org; Fri, 08 Jul 2011 09:31:47 -0700 X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 173.255.215.69 X-Mailman-Approved-At: Sat, 09 Jul 2011 14:18:38 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81531 Archived-At: Hi everyone, it has been a long time. I use Debian 23.3 packages, and I want to switch to the Lucid flavor because the gtk flavor pulls in my nemesis gconf. It works, but I seem to be unable to use xft fonts. After reading the manpage and info manual, I put this in my .Xresources: Emacs.pane.menubar*.font: Sans-12 But instead Emacs renders the menu with the "fixed" bitmap font, and I get this in my .xsession-errors: Warning: Cannot convert string "Sans-12" to type FontStruct I also tried adding this to .Xresources: Emacs.FontBackend: xft,x but that didn't change anything. I am pretty sure Xft support is compiled in this version, at least the binary is linked with the xft and freetype libraries. (How do I check that Xft support is present from within Emacs, by the way?) Many thanks for any insights. Ian. -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD Rule 420: All persons more than eight miles high to leave the court.