GNU bug report logs - #2334
23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function

Previous Next

Package: emacs;

Reported by: "Theodore Ts'o" <tytso <at> mit.edu>

Date: Sun, 15 Feb 2009 05:40:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #30 received at 2334 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Kenichi Handa <handa <at> m17n.org>
Cc: tytso <at> mit.edu, 2334 <at> debbugs.gnu.org
Subject: Re: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
Date: Wed, 18 Feb 2009 08:48:45 -0500
Kenichi Handa <handa <at> m17n.org> writes:

> I at first want to figure out why the above two methods for
> seting a font are different.  At least, I can't reproduce
> the difference.  Can you?  When I have "dejavu sans mono"
> fonts both for fontconfig and X as below, both methods set
> the default font to X font.

I do see this bug.

I have 'Emacs.Font: Monospace 9' in my .Xresources file.  With
`emacs -Q', C-u C-x = reports the font as

    xft:-unknown-DejaVu Sans
    Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x1E)

If I then do

 M-: (modify-frame-parameters (selected-frame)
                              (list (cons 'font "DejaVu Sans Mono 9")))

the font becomes non-antialised, and C-u C-x = reports

    x:-dejavu-dejavu sans
    mono-medium-r-normal--12-87-100-100-m-70-iso8859-1 (#x3B)

My results for fc-list and xlsfonts are the same as yours.




This bug report was last modified 16 years and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.