From: Chip Coldwell <coldwell@redhat.com>
To: emacs-devel@gnu.org
Subject: font question
Date: Mon, 23 Jun 2008 14:27:42 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.1.10.0806231424090.11098@barcelona.usersys.redhat.com> (raw)
I have this in my .emacs
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "DejaVu Sans Mono" :height 100))))
'(variable-pitch ((t (:family "Liberation Sans" :height 100)))))
and it seems to do what I want (although the font I see on screen
looks a lot bigger to my eye than 10pt that is implied by the
:height). However, if I open a new frame with C-5-2, it uses the
default values for both fixed and variable-width fonts.
I can set
(add-to-list 'default-frame-alist '(font . "-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso8859-1"))
and that sets the fixed-width font correctly, but it does not fix the
variable-width fonts.
It seems to me that custom-set-faces should do more than set the faces
for the initial frame; it should set the faces for all subsequently
created frames also, no?
Chip
--
Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc
978-392-2426
GPG ID: 852E052F
GPG FPR: 77E5 2B51 4907 F08A 7E92 DE80 AFA9 9A8F 852E 052F
next reply other threads:[~2008-06-23 18:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 18:27 Chip Coldwell [this message]
2008-06-23 21:27 ` font question Chip Coldwell
2008-06-23 21:52 ` Jason Rumney
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=alpine.LFD.1.10.0806231424090.11098@barcelona.usersys.redhat.com \
--to=coldwell@redhat.com \
--cc=emacs-devel@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 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).