From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Setting font to Lucida Grande on Mac OS X Date: Mon, 15 Sep 2003 10:09:05 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200309151509.h8FF95Z22652@raven.dms.auburn.edu> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063639790 30673 80.91.224.253 (15 Sep 2003 15:29:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2003 15:29:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Sep 15 17:29:48 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yvIS-0000v2-00 for ; Mon, 15 Sep 2003 17:29:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19yvL9-0001OV-00 for ; Mon, 15 Sep 2003 17:32:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19yvGQ-0001uD-BZ for emacs-devel@quimby.gnus.org; Mon, 15 Sep 2003 11:27:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19yvCR-0000zn-HG for emacs-devel@gnu.org; Mon, 15 Sep 2003 11:23:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19yvCJ-0000wu-Pp for emacs-devel@gnu.org; Mon, 15 Sep 2003 11:23:28 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19yvBe-0000mh-DY for emacs-devel@gnu.org; Mon, 15 Sep 2003 11:22:46 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by mx20.gnu.org with esmtp (Exim 4.22) id 19yv1S-0007sD-O5 for emacs-devel@gnu.org; Mon, 15 Sep 2003 11:12:14 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.9/8.12.9) with ESMTP id h8FFCDeQ016394; Mon, 15 Sep 2003 10:12:13 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h8FF95Z22652; Mon, 15 Sep 2003 10:09:05 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: akochoi@shaw.ca In-reply-to: (message from Andrew Choi on Sun, 14 Sep 2003 23:55:30 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16403 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16403 Andrew Choi wrote: do something like this: M-x set-frame-font RET -apple-lucida grande-medium-r-normal--12-0-75-75-m-0-mac-roman I guess that gets rid of Sancho's concrete problem, but it does not answer the following question: Why does M-x set-frame-font RET -*-Courier-*-120-* work and M-x set-frame-font RET -*-Lucida Grande-*-120-* not? Maybe `-*-Lucida Grande-*-120-*' really is unmatched (I can not check), but look at the example below. The difference between a user question belonging on `gnu.emacs.help' and a question belonging on this site is that the answer to the former could have been found in the standard documentation, in this case the Emacs manual. >>From (emacs)Font X : You can use wildcard patterns for the font name; then Emacs lets X choose one of the fonts that match the pattern. Not quite. Emacs (or X) will not be able to find some fonts this way. Neither will xlsfonts. I guess that if I were an expert on fonts, the example below would be obvious to me, but I believe that being an expert on fonts should not be a prerequisite to being able to specify a font for Emacs. [bash2.05b.0 ~ 3 1] emacs-21.3.50 -fn '-abisource-courier-bold-i-normal--17-120-*-*-*-*-*' No fonts match `-abisource-courier-bold-i-normal--17-120-*-*-*-*-*' [bash2.05b.0 ~ 3 2] emacs-21.3.50 -fn '-abisource-courier-bold-i-normal--17-120-*-*-*-*-*-*' [bash2.05b.0 ~ 3 3] Why does the second line work and the first one not? Does `*' not match `*-*' anyway? It does for `-*-Courier-*-120-*'. Is it possible to tell in one or two lines in (emacs)Font X what is going on here? Or am I missing something truly obvious (even to non font experts)? Sincerely, Luc.