unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* font-info returns nil on default font (emacs -q) -- BUG?
@ 2004-09-24  4:59 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2004-09-24  4:59 UTC (permalink / raw)


Don't know if this is a bug, because I don't know much about font functions.

Function font-info's doc string says that it returns nil if the argument
font is not yet loaded. I'm not sure what "loaded" means here, but with
vanilla Emacs I would expect that the font used is "loaded". However, I get
nil with font-info.

I'm on GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of 2004-07-26 on
BERATUNG4. I'm on Windows XP SP1.

The (default) font is apparently this:
"-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-80-iso8859-1"

x-decompose-font-name works fine, but font-info returns nil.

Is this correct behavior or a bug?





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-24  4:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-24  4:59 font-info returns nil on default font (emacs -q) -- BUG? Drew Adams

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).