From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Can you recommand some good fonts for emacs22 ?
Date: Mon, 20 Jul 2009 18:13:31 +0200 [thread overview]
Message-ID: <87ws635o44.fsf@tux.homenetwork> (raw)
In-Reply-To: 87skgrfjzw.fsf@newsguy.com
Harry Putnam <reader@newsguy.com> writes:
> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Harry Putnam <reader@newsguy.com> writes:
>>
>>>> You can see all the xfonts available in emacs with:
>>>>
>>>> (x-list-fonts "*")
>>>
>>> What I get is only a tiny fraction of fonts on the system.
>>> 12 are listed.
>>
>> How did you count the number of fonts found?
>
> Captured the output of EVAL: (x-list-fonts "*")
> ("-sony-fixed-medium-r-normal--24-*-75-75-c-120-jisx0201.1976-0" "-sony-fixed-medium-r-normal--24-*-75-75-c-120-iso8859-1" "-sony-fixed-medium-r-normal--24-*-100-100-c-120-jisx0201.1976-0" "-sony-fixed-medium-r-normal--24-*-100-100-c-120-iso8859-1" "-sony-fixed-medium-r-normal--16-*-75-75-c-80-jisx0201.1976-0" "-sony-fixed-medium-r-normal--16-*-75-75-c-80-iso8859-1" "-sony-fixed-medium-r-normal--16-*-100-100-c-80-jisx0201.1976-0" "-sony-fixed-medium-r-normal--16-*-100-100-c-80-iso8859-1" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-koi8-r" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-iso8859-15" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-iso8859-1" "-schumacher-clean-medium-r-normal--12-*-75-75-c-60-iso10646-1" ...)
>
> I guess the `...' means a whole herd was elided
Put point on "..." and press RET
>>> xlsfonts shows 5681 with names beginning `^-'
>>
>> What is the output of:
>>
>> (length (x-list-fonts "*"))
>
>> For me it is 4968.
>
> Here it's 1287
>
> But when the item was introduced into the thread it was presented as a way
> to see `all' fonts.
All fonts usable in emacs.
> Thierry V. wrote in Message-ID: <87eitdqyvg.fsf@tux.homenetwork>
>
> > You can see all the xfonts available in emacs with:
>
> > (x-list-fonts "*")
>
> Did you mean to be used some other way than eval?
Anything (and icicle also AFAIK) use this function.
If you want a nice display of this list, use one of them.
If you don't want to use them, you can print the output of this function
with your own function:
loop in (x-list-fonts "*")
print in current buffer or in a specialized buffer each elements
generated by the loop.
Don't forget to add a "\n" after each elements to print.
> Using completion as Bernardo suggests:
>> M-x set-default-font RET TAB TAB
>
> Does appear to list them all... and with nice newlines.
As his name say, set-default-font ... set font, and is not intended to
display font, even if you can do it with completion.
If you press RET while browsing font like that, you will set a font.
If it is a readable font you can come back to your default font, else,
you will be good to restart emacs.
>
>
>
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
next prev parent reply other threads:[~2009-07-20 16:13 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1010.1245536389.2239.help-gnu-emacs@gnu.org>
2009-06-21 8:16 ` Can you recommand some good fonts for emacs22 ? Marc Tfardy
2009-06-21 9:33 ` Peter Breitfeld
2009-06-24 13:41 ` Marc Tfardy
2009-07-21 3:19 ` Harry Putnam
2009-06-21 15:29 ` Michael Ekstrand
2009-06-21 17:29 ` Thierry Volpiatto
2009-06-21 17:44 ` Drew Adams
2009-07-20 10:26 ` Harry Putnam
2009-07-20 10:56 ` Harry Putnam
2009-07-20 13:50 ` Drew Adams
2009-07-20 15:37 ` Harry Putnam
2009-07-20 18:08 ` Drew Adams
2009-07-20 10:30 ` Harry Putnam
2009-07-20 10:37 ` Harry Putnam
2009-07-20 10:52 ` Bernardo
2009-07-20 15:22 ` Harry Putnam
2009-07-20 11:34 ` Thierry Volpiatto
2009-07-20 15:32 ` Harry Putnam
2009-07-20 16:13 ` Thierry Volpiatto [this message]
2009-07-21 3:02 ` Harry Putnam
2009-07-21 5:05 ` Thierry Volpiatto
2009-07-21 15:45 ` Harry Putnam
2009-07-21 4:15 ` Drew Adams
[not found] ` <mailman.1032.1245605769.2239.help-gnu-emacs@gnu.org>
2009-07-15 11:36 ` David Combs
2009-07-15 12:15 ` Anselm Helbig
2009-07-15 12:43 ` Thierry Volpiatto
[not found] ` <mailman.2548.1247662203.2239.help-gnu-emacs@gnu.org>
2009-07-15 16:50 ` Ted Zlatanov
2009-07-15 19:26 ` Thierry Volpiatto
[not found] ` <mailman.2584.1247686398.2239.help-gnu-emacs@gnu.org>
2009-07-16 16:27 ` Ted Zlatanov
2009-06-20 11:37 waterloo
2009-06-20 23:04 ` Drew Adams
2009-06-21 9:49 ` Teemu Likonen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ws635o44.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).