changeset 96241:514c1dae72db

(face-font-family-alternatives, variable-pitch): Change "Sans" to the canonical name "Sans-Serif".
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 24 Jun 2008 18:18:05 +0000
parents d49e0625d346
children 676dd253c861
files lisp/faces.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Tue Jun 24 18:17:55 2008 +0000
+++ b/lisp/faces.el	Tue Jun 24 18:18:05 2008 +0000
@@ -59,11 +59,13 @@
 	   (internal-set-font-selection-order value)))
 
 
-;; This is defined originally in xfaces.c.
+;; In the absence of Fontconfig support, Monospace and Sans-Serif are
+;; unavailable, and we fall back on the courier and helv families,
+;; which are generally available.
 (defcustom face-font-family-alternatives
   '(("Monospace" "courier" "fixed")
     ("courier" "fixed")
-    ("Sans" "helv" "helvetica" "arial" "fixed")
+    ("Sans-Serif" "helv" "helvetica" "arial" "fixed")
     ("helv" "helvetica" "arial" "fixed"))
   "*Alist of alternative font family names.
 Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...).
@@ -2227,7 +2229,7 @@
   :group 'basic-faces)
 
 (defface variable-pitch
-  '((t :family "Sans"))
+  '((t :family "Sans-Serif"))
   "The basic variable-pitch face."
   :group 'basic-faces)