all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: tytso@mit.edu, 2334@emacsbugs.donarmstrong.com
Subject: bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function
Date: Wed, 18 Feb 2009 15:00:39 +0900	[thread overview]
Message-ID: <E1LZfU7-0000PL-0A@etlken> (raw)
In-Reply-To: <8763jaqu7b.fsf@cyd.mit.edu> (message from Chong Yidong on Mon, 16 Feb 2009 10:26:16 -0500)

In article <8763jaqu7b.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

> "Theodore Ts'o" <tytso@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@m17n.org






  parent reply	other threads:[~2009-02-18  6:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 15:26 bug#2334: 23.0.90; emacs-snapshot has ugly fonts when using set-default-font elisp function Chong Yidong
2009-02-16 16:00 ` Theodore Tso
2009-02-16 18:22   ` Chong Yidong
2009-02-18  6:00 ` Kenichi Handa [this message]
2009-02-18 13:48   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-02-15  5:32 Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LZfU7-0000PL-0A@etlken \
    --to=handa@m17n.org \
    --cc=2334@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.