unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fixed-pitch and variable-pitch faces
@ 2008-06-07 16:23 Chong Yidong
  2008-06-07 16:28 ` Chong Yidong
  2008-06-07 18:56 ` Stefan Monnier
  0 siblings, 2 replies; 26+ messages in thread
From: Chong Yidong @ 2008-06-07 16:23 UTC (permalink / raw)
  To: emacs-devel

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?




^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-06-10  8:01 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).