* Re: font-info returns nil on default font (emacs -q) -- BUG?
[not found] <mailman.3840.1096002401.1998.bug-gnu-emacs@gnu.org>
@ 2004-10-13 7:36 ` Jari Aalto
0 siblings, 0 replies; 2+ messages in thread
From: Jari Aalto @ 2004-10-13 7:36 UTC (permalink / raw)
* Thu 2004-09-23 Drew Adams <drew.adams AT oracle.com> gnu.emacs.bug
| 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.
|
| ...I get nil with font-info. ... x-decompose-font-name works fine
|
|
| The (default) font is apparently this:
| "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-80-iso8859-1"
Indeed this is strange:
(font-info
(cdr
(assq 'font (frame-parameters))))
--> nil
(x-decompose-font-name
(cdr
(assq 'font (frame-parameters))))
--> ["outline" "Courier New" "normal" "r" "normal" "normal" "13" "97" "96" "96" "c" "80" ...]
Jari
^ permalink raw reply [flat|nested] 2+ messages in thread
* font-info returns nil on default font (emacs -q) -- BUG?
@ 2004-09-24 4:59 Drew Adams
0 siblings, 0 replies; 2+ messages 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] 2+ messages in thread
end of thread, other threads:[~2004-10-13 7:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3840.1096002401.1998.bug-gnu-emacs@gnu.org>
2004-10-13 7:36 ` font-info returns nil on default font (emacs -q) -- BUG? Jari Aalto
2004-09-24 4:59 Drew Adams
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).