From: Eli Zaretskii <eliz@gnu.org>
To: Paul Moore <p.f.moore@gmail.com>
Cc: 23689@debbugs.gnu.org
Subject: bug#23689: Daemon-mode on Windows - "w32-initialized" is set too early
Date: Wed, 15 Jun 2016 05:33:42 +0300 [thread overview]
Message-ID: <83fusfdvuh.fsf@gnu.org> (raw)
In-Reply-To: <CACac1F8=HfxODqhXuRm_uW9rcSJ2x2mUiewuuXMxMBPN=ndStw@mail.gmail.com> (message from Paul Moore on Tue, 14 Jun 2016 20:55:57 +0100)
> From: Paul Moore <p.f.moore@gmail.com>
> Date: Tue, 14 Jun 2016 20:55:57 +0100
> Cc: 23689@debbugs.gnu.org
>
> > Sounds like a perfect use case for a fontset: create a fontset from
> > all those fonts, and then use the name of that fontset as the value of
> > the 'font' parameter in default-frame-alist. Emacs will look up the
> > fonts in the font set one by one until it finds one it can use.
>
> Hmm. Are they cross-platform?
Yes.
> The "Defining fontsets" page in the Emacs manual talks about X
> resouces.
X resources are supported on Windows as well, but that's unrelated.
Look in the ELisp manual, not in the user manual. There are many
examples in fontset.el for you to use.
> I'm on Windows, and I don't know how I'd set up an X resource there.
You don't need X resources to create a fontset. Use
create-fontset-from-fontset-spec to create a new fontset, and
set-fontset-font to add fonts to the fontset.
> To give a concrete example, how would I ask Emacs to choose the first
> of "Source Code Pro-12", "DevaVu Sans Mono-12", "Consolas-12" or
> "Courier New-12" that was present on the machine?
Make a fontset that includes all these fonts, and then use the fontset
name in the default-frame-alist's 'font' parameter.
next prev parent reply other threads:[~2016-06-15 2:33 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-03 10:33 bug#23689: Daemon-mode on Windows - "w32-initialized" is set too early Paul Moore
2016-06-04 10:07 ` Eli Zaretskii
2016-06-04 10:29 ` Paul Moore
2016-06-04 10:58 ` Eli Zaretskii
2016-06-04 12:54 ` Paul Moore
2016-06-04 15:01 ` Eli Zaretskii
2016-06-04 15:17 ` Paul Moore
2016-06-08 13:57 ` Paul Moore
2016-06-14 17:10 ` Eli Zaretskii
2016-06-14 18:20 ` Paul Moore
2016-06-14 18:55 ` Eli Zaretskii
2016-06-14 19:55 ` Paul Moore
2016-06-15 2:33 ` Eli Zaretskii [this message]
2016-06-15 7:08 ` Paul Moore
2016-06-15 11:11 ` Paul Moore
2016-06-15 14:55 ` Eli Zaretskii
2016-06-15 15:26 ` Paul Moore
2016-06-15 15:47 ` Eli Zaretskii
2016-06-15 16:58 ` Paul Moore
2019-11-02 1:07 ` Stefan Kangas
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=83fusfdvuh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=23689@debbugs.gnu.org \
--cc=p.f.moore@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).