Commit 80073c33 authored by Chong Yidong's avatar Chong Yidong
Browse files

(face-font-family-alternatives, variable-pitch): Change "Sans" to the

canonical name "Sans-Serif".
parent 61cfc803
......@@ -59,11 +59,13 @@ a font height that isn't optimal."
(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 @@ terminal type to a different value."
:group 'basic-faces)
(defface variable-pitch
'((t :family "Sans"))
'((t :family "Sans-Serif"))
"The basic variable-pitch face."
:group 'basic-faces)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment