aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-11-10 14:34:23 +0000
committerGerd Moellmann2000-11-10 14:34:23 +0000
commit18f1dcb44938de767e7e8b4640870dedb9b6d844 (patch)
tree0bb9242f0d8f1cf1d63bc319d6679a7fdcf34c4d
parent30d276a40295e56768cd6328317900751f8fceb1 (diff)
downloademacs-18f1dcb44938de767e7e8b4640870dedb9b6d844.tar.gz
emacs-18f1dcb44938de767e7e8b4640870dedb9b6d844.zip
(face-font-registry-alternatives): New user-option.
-rw-r--r--lisp/faces.el18
1 files changed, 17 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index e88b0fd51eb..e72e22bacd5 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -58,7 +58,8 @@ a font height that isn't optimal."
58 (set-default symbol value) 58 (set-default symbol value)
59 (internal-set-font-selection-order value))) 59 (internal-set-font-selection-order value)))
60 60
61;; This is defined originally in {w32,x}faces.c. 61
62;; This is defined originally in xfaces.c.
62(defcustom face-font-family-alternatives 63(defcustom face-font-family-alternatives
63 '(("courier" "fixed") 64 '(("courier" "fixed")
64 ("helv" "helvetica" "arial" "fixed")) 65 ("helv" "helvetica" "arial" "fixed"))
@@ -74,6 +75,21 @@ ALTERNATIVE2 etc."
74 (internal-set-alternative-font-family-alist value))) 75 (internal-set-alternative-font-family-alist value)))
75 76
76 77
78;; This is defined originally in xfaces.c.
79(defcustom face-font-registry-alternatives
80 '(("muletibetan-2" "muletibetan-0"))
81 "*Alist of alternative font registry names.
82Each element has the the form (REGISTRY ALTERNATIVE1 ALTERNATIVE2 ...).
83If fonts of registry REGISTRY can't be loaded, try ALTERNATIVE1, then
84ALTERNATIVE2 etc."
85 :tag "Alternative font registries to try."
86 :type '(repeat (repeat string))
87 :group 'font-selection
88 :set #'(lambda (symbol value)
89 (set-default symbol value)
90 (internal-set-alternative-font-registry-alist value)))
91
92
77 93
78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
79;;; Creation, copying. 95;;; Creation, copying.