[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Re: address@hidden: No default for describe-font, bu
Re: address@hidden: Re: address@hidden: No default for describe-font, but one is advertised]]
Tue, 01 Aug 2006 16:30:47 +0900
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)
In article <address@hidden>, Richard Stallman <address@hidden> writes:
> [I sent this message a few weeks ago but did not get a response.]
> Please help us here.
Sorry for the late response. Actually, I originally wrote
describe-font and font-info for debugging fontset facility,
and forgot about them once they became unnecessary. :-(
They are not a public API (as far as I know they are not
documented in info).
> describe-font gets its default from (cdr (assq 'font (frame-parameters))).
Not exactly. (assq 'font (frame-parameters)) will return a
fontset instead of font. In that case, describe-font
extract an ASCII font of the fontset, and calls font-info
with that font.
In addtion, font-info returns nil if Emacs has not yet
opened any font with NAME.
- Re: address@hidden: Re: address@hidden: No default for describe-font, but one is advertised]],
Kenichi Handa <=