help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Default font and .Xdefaults


From: Tim Johnson
Subject: Re: Default font and .Xdefaults
Date: Wed, 19 Apr 2006 18:49:25 -0000
User-agent: slrn/0.9.8.0 (Linux)

On 2006-04-19, Kevin Rodgers <ihs_4664@yahoo.com> wrote:
> Emacs.default.attributeFont to Emacs*Font?

 Yes.  That solved it.

> (defun xfd (&optional xlfd)
>    "Run the xfd program.
> XLFD defaults to the selected frame's font, or the default face's font."
>    (interactive (list (read-string "Font: "
>                                    (cons (or (frame-parameter 
> (selected-frame)
>                                                               'font)
>                                              (face-font 'default))
>                                          1))))
>    (start-process "xfd" "*Messages*" "xfd"
>                   "-fn" (or xlfd
>                             (frame-parameter (selected-frame) 'font)
>                             (face-font 'default))))

 Very handy! It's in play and confirms the installed font.
 Thanks!
 tim

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com


reply via email to

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