aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-06-21 19:42:51 +0000
committerChong Yidong2008-06-21 19:42:51 +0000
commitd5f5733533eb2e32f83555eabf81699b03c8d3b5 (patch)
tree4ee2b42ea76401a78bce09184243dc52c7e62b30
parent16cfacf83bba7ab7238c52fbcaa65db22d48d449 (diff)
downloademacs-d5f5733533eb2e32f83555eabf81699b03c8d3b5.tar.gz
emacs-d5f5733533eb2e32f83555eabf81699b03c8d3b5.zip
(fixed-pitch): Use "Monospace" family.
(variable-pitch): Use "Sans" family. (face-font-family-alternatives): Define alternatives for "Sans" and "Monospace".
-rw-r--r--lisp/faces.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 643b50a1316..1867cda0df1 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -61,7 +61,9 @@ a font height that isn't optimal."
61 61
62;; This is defined originally in xfaces.c. 62;; This is defined originally in xfaces.c.
63(defcustom face-font-family-alternatives 63(defcustom face-font-family-alternatives
64 '(("courier" "fixed") 64 '(("Monospace" "courier" "fixed")
65 ("courier" "fixed")
66 ("Sans" "helv" "helvetica" "arial" "fixed")
65 ("helv" "helvetica" "arial" "fixed")) 67 ("helv" "helvetica" "arial" "fixed"))
66 "*Alist of alternative font family names. 68 "*Alist of alternative font family names.
67Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...). 69Each element has the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...).
@@ -2220,12 +2222,12 @@ terminal type to a different value."
2220 :group 'basic-faces) 2222 :group 'basic-faces)
2221 2223
2222(defface fixed-pitch 2224(defface fixed-pitch
2223 '((t :family "courier")) 2225 '((t :family "Monospace"))
2224 "The basic fixed-pitch face." 2226 "The basic fixed-pitch face."
2225 :group 'basic-faces) 2227 :group 'basic-faces)
2226 2228
2227(defface variable-pitch 2229(defface variable-pitch
2228 '((t :family "helv")) 2230 '((t :family "Sans"))
2229 "The basic variable-pitch face." 2231 "The basic variable-pitch face."
2230 :group 'basic-faces) 2232 :group 'basic-faces)
2231 2233