From: Miles Bader <miles@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Chong Yidong <cyd@stupidchicken.com>,
angelo.graziosi@alice.it, Kenichi Handa <handa@m17n.org>,
emacs-devel@gnu.org
Subject: Re: Lost antialias?
Date: Sat, 21 Jun 2008 13:52:10 +0900 [thread overview]
Message-ID: <874p7n1jb9.fsf@catnip.gol.com> (raw)
In-Reply-To: <jwv3an74dxk.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 21 Jun 2008 00:22:30 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>> What font should we use for variable-pitch? Bitstream Vera Sans?
>>> I'd put "Sans-Serif" first, so as to re-use fontconfig's default.
>>> Similarly for fixed-pitch (not sure if that's "mono" or "monospace" or
>>> what).
>
>> Fontconfig's generic handling seems aimed more at finding something
>> "usable" rather than something "good", and the ordering seems almost
>> random (Bitstream Vera comes before Dejavu, even though the latter is
>> more or less a better version of the former, and on my system "Sans
>> Serif" resolves to "Kochi Gothic", apparently simply because I have that
>> installed).
>
> Hmm... so what do other apps use? I think we should aim to use whatever
> other applications use by default, since there's a better chance that
> this has been correctly setup (and if not, at least we won't be worse
> than those other apps and we can just say "sorry, not our fault").
>
> E.g. what does Firefox use? (or Vim ;-)?
Actually I was mistaken about "Kochi Gothic" -- it seems to use it
because I have LANG set to "ja_JP".
If I use:
LANG=C HOME=/tmp fc-match "Serif"
then I get "Bitstream Vera Serif" (etc for "Sans", and "Mono").
So I guess the choice is "reasonable", except for the ordering of Vera
before Dejavu. I don't know the reason for that offhand, but I imagine
perhaps it's because Vera is used as a general default these days, and
Dejavu is something still installed as an optional package.
Using "Mono", "Sans", or "Serif" as families all return similar results,
so I suppose they would be reasonable defaults.
Most of the substitution seems to be done by config files in /etc/fonts,
and I'm not sure how things are on other systems; I'm using Debian
unstable.
[Whether the above changing of default for LANG=ja_JP is really
desirable or not, I dunno, but I guess it's going to yield more familiar
results when mixing CJK with ascii characters. Anyway, as you say,
"not our problem".]
-Miles
--
Mayonnaise, n. One of the sauces that serve the French in place of a state
religion.
next prev parent reply other threads:[~2008-06-21 4:52 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
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 [this message]
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=874p7n1jb9.fsf@catnip.gol.com \
--to=miles@gnu.org \
--cc=angelo.graziosi@alice.it \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
--cc=monnier@iro.umontreal.ca \
/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.