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 #25 received at 2334 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
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 15:00:39 +0900
In article <8763jaqu7b.fsf <at> cyd.mit.edu>, Chong Yidong <cyd <at> stupidchicken.com> writes:

> "Theodore Ts'o" <tytso <at> mit.edu> wrote:
> > Using emacs-snapshot-20090207, the text display becomes very ugly when
> > set via:
> > (set-default-font "DejaVu Sans Mono-10")
> > However, if the font is set via the menu bar: Options->Set Default Font
> > then the fonts look good (i.e., with proper anti-aliasing).

> Hi Handa-san,

> I think we should give the xft font backend (where it is available) a
> higher priority than the x backend; otherwise, users will keep
> experiencing bugs like this.

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.

% fc-list 'dejavu sans mono'
DejaVu Sans Mono:style=Bold Oblique
DejaVu Sans Mono:style=Oblique
DejaVu Sans Mono:style=Book
DejaVu Sans Mono:style=Bold
% xlsfonts '*-dejavu sans mono-*'
-dejavu-dejavu sans mono-bold-o-normal--0-0-0-0-c-0-iso10646-1
-dejavu-dejavu sans mono-bold-o-normal--0-0-0-0-m-0-iso10646-1
-dejavu-dejavu sans mono-bold-r-normal--0-0-0-0-c-0-iso10646-1
-dejavu-dejavu sans mono-bold-r-normal--0-0-0-0-m-0-iso10646-1
-dejavu-dejavu sans mono-medium-o-normal--0-0-0-0-c-0-iso10646-1
-dejavu-dejavu sans mono-medium-o-normal--0-0-0-0-m-0-iso10646-1
-dejavu-dejavu sans mono-medium-r-normal--0-0-0-0-c-0-iso10646-1
-dejavu-dejavu sans mono-medium-r-normal--0-0-0-0-m-0-iso10646-1
[...]

---
Kenichi Handa
handa <at> m17n.org




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.