[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting font to Lucida Grande on Mac OS X
From: |
Luc Teirlinck |
Subject: |
Re: Setting font to Lucida Grande on Mac OS X |
Date: |
Sun, 14 Sep 2003 23:10:28 -0500 (CDT) |
Sancho Neves-Graca wrote:
But putting in ~/.emacs
(set-default-font "-*-Lucida Grande-*-120-*")
returns Font '-*-Lucida Grande-*-120-*' is not defined.
Is Lucida Grande available for Emacs on Mac OS X? If so, what is its
identifier?
The actual answer to this may be a little bit more complicated than I
thought at first.
As I already said, I do not have Lucida Grande, but I believe the
situation must be very similar to `century schoolbook'.
>From one of my previous messages:
[bash2.05b.0 ~ 3 6] xlsfonts -fn '-*-century schoolbook-*'
-abisource-century schoolbook-bold-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-bold-r-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-regular-i-normal--0-0-0-0-p-0-iso8859-1
-abisource-century schoolbook-regular-r-normal--0-0-0-0-p-0-iso8859-1
[bash2.05b.0 ~ 3 7] xlsfonts -fn '-*-century schoolbook-*-120-*'
xlsfonts: pattern "-*-century schoolbook-*-120-*" unmatched
[bash2.05b.0 ~ 3 8]
Take the first entry xlsfonts found:
-abisource-century schoolbook-bold-i-normal--0-0-0-0-p-0-iso8859-1
I figured out using `xfd' (may or may not be available on Mac OS X)
that this font is identical with:
'-abisource-century schoolbook-regular-r-normal--17-120-100-100-p-94-iso8859-1'
`emacs-21.3.50 -fn' works perfectly with the last expression.
However, if you put *'s in the wrong places in the last expression,
in particular '-*-century schoolbook-*-120-*', neither
emacs-21.3.50 -fn 'stuff-with-*'s'
nor
xlsfonts -fn 'stuff-with-*'s'
believe there is _any_ matching font.
I believe this has something to do with the following quote from the
xlsfonts man page:
-o This option indicates that xlsfonts should do an
OpenFont (and QueryFont, if appropriate) rather
than a ListFonts. This is useful if ListFonts or
ListFontsWithInfo fail to list a known font (as is
the case with some scaled font systems).
The -o option does not help in this case, however, still no matches.
As xlsfonts can not handle this either, I do not believe that this is
a bug in Emacs, but I am not a real expert in these matters.
Sincerely,
Luc.
- Re: Setting font to Lucida Grande on Mac OS X, (continued)
- Re: Setting font to Lucida Grande on Mac OS X, Richard Stallman, 2003/09/20
- Re: Setting font to Lucida Grande on Mac OS X, Stephen J. Turnbull, 2003/09/22
- Re: Setting font to Lucida Grande on Mac OS X, Luc Teirlinck, 2003/09/22
- Re: Setting font to Lucida Grande on Mac OS X, Luc Teirlinck, 2003/09/22
- Re: Setting font to Lucida Grande on Mac OS X, Luc Teirlinck, 2003/09/22
- Re: Setting font to Lucida Grande on Mac OS X, Luc Teirlinck, 2003/09/19
- Re: Setting font to Lucida Grande on Mac OS X, Richard Stallman, 2003/09/18
Setting font to Lucida Grande on Mac OS X, Sancho Neves-Graca, 2003/09/14