all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Kenichi Handa <handa@m17n.org>
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 08:48:45 -0500	[thread overview]
Message-ID: <87ljs3ua82.fsf@cyd.mit.edu> (raw)
In-Reply-To: <E1LZfU7-0000PL-0A@etlken> (Kenichi Handa's message of "Wed, 18 Feb 2009 15:00:39 +0900")

Kenichi Handa <handa@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.






  reply	other threads:[~2009-02-18 13:48 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
2009-02-18 13:48   ` Chong Yidong [this message]
  -- 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=87ljs3ua82.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=2334@emacsbugs.donarmstrong.com \
    --cc=handa@m17n.org \
    --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.