unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: emacs-devel@gnu.org
Cc: Chong Yidong <cyd@stupidchicken.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Fixed-pitch and variable-pitch faces
Date: Sat, 07 Jun 2008 17:34:59 -0400	[thread overview]
Message-ID: <m37id1c4it.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <jwv7id16pzm.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 07 Jun 2008 14:56:34 -0400")

>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:

Stefan> I would actually expect fontconfig to be able to provide such
Stefan> mappings as well (tho it appears not to do it), so maybe there's
Stefan> a way to let fontconfig solve this problem.

Fontconfig allows that to be configured.  I'd expect mosts current dists
to activate those substitutions by default.

I know that info mode uses Arial Bold here for the headers, where it
used to use the Helvetica bitmaps before the font backend.

The Liberation fonts from RedHat, Bitstream Vera, DejaVu and the various
clones of Helvetica/Arial, Times/TimesNewRoman and Courier are also all
considered when the names Helvetica, Times or Courier are requested.

If you have a current fontconfig (at least 2.5.??) look in /etc/fonts
under the conf.d and conf.available dirs.  Look for things like:

30-metric-aliases.conf 30-urw-aliases.conf and ??-latin.conf.

Older versions of fontconfig put those same configs into fonts.conf
itself, rather than easily-configurable includes.

There may be some differences between versions, but unless the
aliases.conf files are missing from conf.d it should just work on the
fontconfig side of things.

The complication, of course, is when multiple font backends are in use.
I run with just xft.  If you have x,xft then it is probably right for
the Helvetica bitmap to win out.  If xft,x then that might be debatable:
whether 'tis better to give primary weight to the name or to the technology?

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6




  parent reply	other threads:[~2008-06-07 21:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 16:23 Fixed-pitch and variable-pitch faces Chong Yidong
2008-06-07 16:28 ` Chong Yidong
2008-06-07 18:56 ` Stefan Monnier
2008-06-07 20:33   ` David Hansen
2008-06-07 21:34   ` James Cloos [this message]
2008-06-08 11:29     ` Kenichi Handa
2008-06-09  1:29       ` Chong Yidong
2008-06-09  2:59         ` Kenichi Handa
2008-06-09  4:49           ` Chong Yidong
2008-06-09  5:17             ` Miles Bader
2008-06-09  5:34               ` Kenichi Handa
2008-06-09  6:14                 ` Miles Bader
2008-06-09  6:20                   ` Miles Bader
2008-06-09  7:20                     ` Kenichi Handa
2008-06-09  7:56                       ` Miles Bader
2008-06-09 11:06                         ` Kenichi Handa
2008-06-09 11:38                           ` Miles Bader
2008-06-09 12:06                             ` Kenichi Handa
2008-06-09 12:09                               ` Miles Bader
2008-06-09 11:26                         ` Kenichi Handa
2008-06-09  6:35                   ` Kenichi Handa
2008-06-09  6:41                     ` Miles Bader
2008-06-09 13:40                 ` Chong Yidong
2008-06-10  1:06                 ` Stefan Monnier
2008-06-10  1:44                   ` David De La Harpe Golden
2008-06-10  8:01                     ` James Cloos

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m37id1c4it.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).