From: David Masterson <dsmasterson92630@outlook.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Visual font looping setup
Date: Sat, 21 Nov 2020 16:53:54 -0800 [thread overview]
Message-ID: <SJ0PR03MB54550E9A18A2E337AFCA827C9BFD0@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <83h7pjyy6z.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Nov 2020 09:19:00 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sat, 21 Nov 2020 00:03:18 +0300
>> From: Jean Louis <bugs@gnu.support>
>> Cc: help-gnu-emacs@gnu.org
>>
>> You say that it shows small sample of each font. On my side for years
>> it shows just 3 major options Misc, few fonts commonly used on X
>> before 20 years, then there is Courier option for various sizes, bold
>> and slant and mix, and there is fontset. More than that never appears
>> there.
>>
>> S-mouse-1 opens up same dialog.
>
> I guess the toolkit which you used to build Emacs doesn't have a
> well-designed font selection dialog.
>
> Do these commands invoke mouse-select-font or x-select-font on your
> system?
I have the same issue and we had this discussion several months back.
My personal build of Emacs v26.3 used the LUCID toolkit and doesn't
support XWidgets. I tried installing GTK on my Chromebook (in the Linux
VM), but I couldn't get the Emacs build process to find/use it (helpful
hints?)
Perhaps the Emacs Info pages need a small discussion on fonts and the
functions to use (beyond menu-select-font) and their expected effects?
For instance, more information about mouse-select-font for people who
can't (or won't) install GTK.
>> Do you mean that there are more fonts on your side displayed under
>> those options?
>
> Yes. If your Emacs was built with GTK, x-select-font should start a
> GTK font selection dialog showing many fonts.
>
> Of course, you can always write a simple command that loops over all
> the fonts in the list created by this:
>
> (x-list-fonts "-*-*-medium-r-normal-*-*-*-*-*-*-iso10646-1"
> 'default (selected-frame))
>
> and display some sample text using each font. Or just looks at the
> list returned by the above, and try some of the fonts manually (with
> set-frame-font or somesuch).
This is helpful, but people not knowledgeable about fonts may not
understand "some such". ;-)
--
David Masterson
next prev parent reply other threads:[~2020-11-22 0:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-20 19:26 Visual font looping setup Jean Louis
2020-11-20 20:00 ` Eli Zaretskii
2020-11-20 20:16 ` Jean Louis
2020-11-20 20:30 ` Eli Zaretskii
2020-11-20 21:20 ` Jean Louis
2020-11-21 7:35 ` Eli Zaretskii
2020-11-21 12:51 ` Jean Louis
2020-11-21 13:23 ` Eli Zaretskii
2020-11-20 21:03 ` Jean Louis
2020-11-21 7:19 ` Eli Zaretskii
2020-11-21 11:23 ` Jean Louis
2020-11-22 0:53 ` David Masterson [this message]
2020-11-22 3:42 ` Eli Zaretskii
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=SJ0PR03MB54550E9A18A2E337AFCA827C9BFD0@SJ0PR03MB5455.namprd03.prod.outlook.com \
--to=dsmasterson92630@outlook.com \
--cc=eliz@gnu.org \
--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).