all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Fixed-pitch and variable-pitch faces
Date: Sat, 07 Jun 2008 12:23:50 -0400	[thread overview]
Message-ID: <871w39mcx5.fsf@stupidchicken.com> (raw)

I've been trying to debug a problem that I've been seeing with
`fixed-pitch' and `variable-pitch' faces, which is that they aren't
anti-aliased, unlike the rest of the faces used by Emacs.  It seems that
these faces are defined with the "courier" and "helv" families, as
follows:

(defface fixed-pitch
  '((t :family "courier"))
  "The basic fixed-pitch face."
  :group 'basic-faces)

(defface variable-pitch
  '((t :family "helv"))
  "The basic variable-pitch face."
  :group 'basic-faces)

I think the font backend is matching these to non-fontconfig fonts.

It seems to me that the default Emacs fonts should attempt to define a
font family, now that we have the new font backend.  I propose to remove
the :family entries to these faces, but am not sure how to redefine
these faces.  In other words, how should `fixed-pitch' and
`variable-pitch' be distinguished from `default'?

Any thoughts?




             reply	other threads:[~2008-06-07 16:23 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 16:23 Chong Yidong [this message]
2008-06-07 16:28 ` Fixed-pitch and variable-pitch faces Chong Yidong
2008-06-07 18:56 ` Stefan Monnier
2008-06-07 20:33   ` David Hansen
2008-06-07 21:34   ` James Cloos
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

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

  git send-email \
    --in-reply-to=871w39mcx5.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --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.