From: Kenichi Handa <handa@m17n.org>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: emacs-devel@gnu.org
Subject: Re: Lost antialias?
Date: Mon, 16 Jun 2008 11:03:47 +0900 [thread overview]
Message-ID: <E1K844R-0004RC-2r@etlken.m17n.org> (raw)
In-Reply-To: <48546807.8010406@alice.it> (message from Angelo Graziosi on Sun, 15 Jun 2008 02:53:27 +0200)
In article <48546807.8010406@alice.it>, Angelo Graziosi <angelo.graziosi@alice.it> writes:
> I have tried also on Cygwin[1], and the result is different.
> On Cygwin I have /.Xdefauls:
> Emacs.FontBackend: xft
> Emacs.font: Bitstream Vera Sans Mono-14
> Xft*antialias: true
> Xft*autohint: true
> The look is fine (better?), but the height is 13 not 14.
The font size problem is because of the bug introduced by
gtk-style fontname parser as I wrote in the previous mail.
And I think "fine" means you have antialise font, then
perhaps it's because you use xft backend only.
> On GNU/Linux Kubuntu 8.04 the result is still 'horrible' with "DejaVu
> Sans Mono-12" and "BitStream Vera Sans Mono", but is fine with
> "Monospace-12".
> On Kubuntu I do not use /.Xdefaults but I start Emacs as
> emacs23 --font "DejaVu Sans Mono-12" &
I see. So, you have "dejavu sans mono" font both by X and
Xft backend. And, as I recently changed the font selector
to prefer a font supplied by a backend of higher priority
(the default order is x,xft on X Window System), you get
"dejavu sans mono" via X backend. When you specify
"monospace" instead, X backend doesn't know about it, but
xft backend knows that it's a generic family name, and your
system assignes "dejavu sans mono" to it. Thus you get
antialias font via xft backend.
If you never want "dejavu sans mono" font as a X font, just
remove it from your font-path.
Or, set X resource as 'Emacs*FontBackend: xft, x'.
---
Kenichi Handa
handa@ni.aist.go.jp
next prev parent reply other threads:[~2008-06-16 2:03 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 8:33 Lost antialias? Angelo Graziosi
2008-06-13 11:21 ` Kenichi Handa
2008-06-13 13:01 ` Angelo Graziosi
2008-06-13 17:55 ` Thomas Baumann
2008-06-17 12:33 ` Christian.Lynbech
2008-06-15 0:53 ` Angelo Graziosi
2008-06-16 2:03 ` Kenichi Handa [this message]
2008-06-16 2:06 ` Chong Yidong
2008-06-16 5:55 ` Kenichi Handa
2008-06-16 6:30 ` Miles Bader
2008-06-16 11:36 ` Kenichi Handa
2008-06-16 16:32 ` Stefan Monnier
2008-06-17 0:46 ` Kenichi Handa
2008-06-17 18:01 ` Chong Yidong
2008-06-17 20:28 ` Miles Bader
2008-06-17 21:03 ` Stefan Monnier
2008-06-17 22:16 ` Angelo Graziosi
2008-06-20 23:29 ` Chong Yidong
2008-06-21 0:16 ` Miles Bader
2008-06-21 0:43 ` Chong Yidong
2008-06-21 1:04 ` Miles Bader
2008-06-21 2:12 ` Stefan Monnier
2008-06-21 3:34 ` Miles Bader
2008-06-21 4:22 ` Stefan Monnier
2008-06-21 4:52 ` Miles Bader
2008-06-21 6:23 ` Eli Zaretskii
2008-06-21 6:56 ` Miles Bader
2008-06-21 8:11 ` Eli Zaretskii
2008-06-21 8:29 ` Miles Bader
2008-06-21 9:00 ` Eli Zaretskii
2008-06-21 21:06 ` Stephen J. Turnbull
2008-06-21 7:46 ` James Cloos
2008-06-21 7:57 ` Miles Bader
2008-06-21 8:15 ` Werner LEMBERG
2008-06-21 11:40 ` Kenichi Handa
2008-06-21 11:33 ` Kenichi Handa
2008-06-21 18:08 ` Stefan Monnier
2008-06-21 19:42 ` Chong Yidong
2008-06-22 1:57 ` James Cloos
2008-06-24 18:14 ` Chong Yidong
2008-06-16 8:23 ` Angelo Graziosi
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=E1K844R-0004RC-2r@etlken.m17n.org \
--to=handa@m17n.org \
--cc=angelo.graziosi@alice.it \
--cc=emacs-devel@gnu.org \
/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.