From: ken <gebser@mousecar.com>
To: help-gnu-emacs@gnu.org
Subject: Re: set-default-font
Date: Tue, 25 Aug 2020 18:15:41 -0400 [thread overview]
Message-ID: <82c7689a-18c8-4a3d-9291-468c18621774@mousecar.com> (raw)
In-Reply-To: <20200825204907.GF3788@scrozzle>
On 8/25/20 4:49 PM, 2QdxY4RzWzUUiLuE@potatochowder.com wrote:
> On 2020-08-25 at 16:38:16 -0400,
> ken <gebser@mousecar.com> wrote:
>
>> Changing to:
>>
>> (set-face-attribute
>> "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard")
>>
>> errors out. This is from *Backtrace*:
> Try something like this instead:
>
> (set-face-attribute 'default nil :font "DejaVu Sans Mono-12")
>
> You can see how to call set-face-attribute in its help page, usually
> accessible by C-h f set-face-attribute <RET>.
Thanks. Good page. That helped me formulate the coding below. And in
it the variable value "normal" should be acceptable, but emacs doesn't
like it for some reason (see below).* Perhaps my syntax is off somewhere?
>
Thanks much, but that gives the same error as in my previous email.
So I tried this instead:
(set-face-attribute 'default nil :family "alegreya" :foundry "misc"
:slant "normal" :weight "normal" :height 258 :width "normal")
It works, but throws an error: Wrong type argument: symbolp, "normal"
Prior to this I tried the same, but without quotes around the three
instances of "normal" -- that didn't work at all.
Another problem is that the resulting font is too small, but changing
"258" to e.g. "358" doesn't change anything. How can I find out an
appropriate specification?
Thanks again.
* I was going to say more about this, but emacs crashed.
next prev parent reply other threads:[~2020-08-25 22:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-25 16:54 set-default-font ken
2020-08-25 17:13 ` set-default-font Stefan Kangas
2020-08-25 18:27 ` set-default-font Eli Zaretskii
2020-08-25 18:32 ` set-default-font Eli Zaretskii
2020-08-25 20:38 ` set-default-font ken
2020-08-25 20:49 ` set-default-font 2QdxY4RzWzUUiLuE
2020-08-25 22:15 ` ken [this message]
2020-08-26 5:44 ` set-default-font Eli Zaretskii
2020-08-27 1:59 ` set-default-font David Masterson
2020-08-27 4:03 ` set-default-font Eli Zaretskii
2020-08-27 4:47 ` set-default-font David Masterson
2020-08-27 8:24 ` set-default-font Eli Zaretskii
2020-08-28 2:07 ` set-default-font David Masterson
2020-08-28 2:39 ` set-default-font David Masterson
2020-08-28 6:43 ` set-default-font Eli Zaretskii
2020-08-28 10:52 ` set-default-font Robert Pluim
2020-08-28 23:38 ` set-default-font David Masterson
2020-08-29 8:37 ` set-default-font Robert Pluim
2020-08-26 5:42 ` set-default-font Eli Zaretskii
2020-08-26 5:40 ` set-default-font Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2008-10-02 18:13 bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon Romain Francoise
2008-10-02 19:47 ` Dan Nicolaescu
2008-10-02 20:07 ` Romain Francoise
2008-10-02 21:14 ` Dan Nicolaescu
2008-10-03 1:04 ` set-default-font (was: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon) Stefan Monnier
2008-10-03 7:22 ` set-default-font Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82c7689a-18c8-4a3d-9291-468c18621774@mousecar.com \
--to=gebser@mousecar.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.