From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Font not defined Date: Fri, 20 Jun 2008 14:54:36 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1213973724 9066 80.91.229.12 (20 Jun 2008 14:55:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 14:55:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 16:56:07 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 1K9i22-0006be-Vs for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 16:56:07 +0200 Original-Received: from localhost ([127.0.0.1]:57943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9i1E-0006hI-8M for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 10:55:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9i1A-0006gE-33 for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:55:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9i19-0006fo-0r for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:55:11 -0400 Original-Received: from [199.232.76.173] (port=45376 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9i18-0006fl-TK for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:55:10 -0400 Original-Received: from cpe-69-204-130-115.nycap.res.rr.com ([69.204.130.115]:46418 helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9i18-0007cP-C5 for emacs-devel@gnu.org; Fri, 20 Jun 2008 10:55:10 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Fri, 20 Jun 2008 14:54:36 +0000 (UTC) In-reply-to: (message from Kenichi Handa on Fri, 20 Jun 2008 21:25:17 +0900) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:99536 Archived-At: If Emacs starts up when invoked without arguments, show me the result of: (frame-parameter nil 'font-backend) I see (x xft) for today's GNU Emacs CVS snapshot, Fri, 2008 Jun 20 09:47 UTC GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) built with (progn (cd "/usr/local/src/emacs/") (compile "make maintainer-clean && \ time autoconf && time ./configure \ --with-x --with-type1 --with-x-toolkit=gtk && \ time make bootstrap")) and started with emacs -q With emacs -q --xrm 'Emacs*FontBackend: xft,x' (xft x) and with emacs -q --xrm 'Emacs*FontBackend: x,xft' (x xft) Howvever, in both cases, I see Font `-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' is not defined when I call emacs -q -fn '-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' \ --xrm 'Emacs*FontBackend: xft,x' or emacs -q -fn '-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' \ --xrm 'Emacs*FontBackend: x,xft' but I do not see that error when I go for a 15 pixel font: emacs -q -fn '-misc-fixed-medium-r-normal--15-*-*-*-c-90-iso8859-1' \ --xrm 'Emacs*FontBackend: xft,x' which finds the font and the backend: (assq 'font (frame-parameters)) => (font . "-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1") (assq 'font-backend (frame-parameters)) => (font-backend xft x) In that instance of Emacs, evaluating (set-frame-font "-misc-fixed-medium-r-normal--13-*-*-*-c-80-iso8859-1") succeeds but (set-frame-font "-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1") does not. Instead, I see Debugger entered--Lisp error: (error "Font `-misc-fixed-medium-r-normal--20-*-*-*-c-100-iso8859-1' is not defined") -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc