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

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

Re: How can I determine what the default font it?


From: Kevin Rodgers
Subject: Re: How can I determine what the default font it?
Date: Mon, 01 Mar 2004 12:03:22 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

exits funnel wrote:
> --- "V. L. Simpson" <address@hidden> wrote:
>>Run the function 'frame-parameters' to get a list of all the the
>>attributes of the current frame.  Type (frame-parameters) in the
>>scratch buffer, press Ctrl-j right after that expression and it will
>>print out a list of all the current parameters for that frame.
>
> VLS, this is helfpful but unfortunately I don't see the default-font
> as a parameter.  The last entry in the returned list is '...' which I
> assume means that the list was truncated.  Is this right?  If so, how
> can I see all of attributes?  Thnks again.

If it was specified, it would be `font' not `default-font'.  But if it's
not specified, you need to look elsewhere:

(or (assq 'font default-frame-alist)
    (x-get-resource "default.attributeFont" "Face.AttributeFont")
    (x-get-resource "font" "Font")
    (fontset-font t ?a))

--
Kevin Rodgers



reply via email to

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