[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

font question

From: Chip Coldwell
Subject: font question
Date: Mon, 23 Jun 2008 14:27:42 -0400 (EDT)
User-agent: Alpine 1.10 (LFD 962 2008-03-14)

I have this in my .emacs

  ;; 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 

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?


Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc

GPG ID:  852E052F
GPG FPR: 77E5 2B51 4907 F08A 7E92  DE80 AFA9 9A8F 852E 052F

reply via email to

[Prev in Thread] Current Thread [Next in Thread]