[Top][All Lists]

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

font-info returns nil on default font (emacs -q) -- BUG?

From: Drew Adams
Subject: font-info returns nil on default font (emacs -q) -- BUG?
Date: Thu, 23 Sep 2004 21:59:59 -0700

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 (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?

reply via email to

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