diff options
| author | Jason Rumney | 2000-02-27 21:13:00 +0000 |
|---|---|---|
| committer | Jason Rumney | 2000-02-27 21:13:00 +0000 |
| commit | 3855860a6f445e07f36371dc07775cabbfe6ecea (patch) | |
| tree | 30e23eb9378bb2d0094c04229f62e184869596fd | |
| parent | f9de6f69e99d1fdd4a7f536e01effbbe30d1b6b9 (diff) | |
| download | emacs-3855860a6f445e07f36371dc07775cabbfe6ecea.tar.gz emacs-3855860a6f445e07f36371dc07775cabbfe6ecea.zip | |
(face-font-family-alternatives): Add arial to helv.
(mode-line, header-line, tool-bar): Same default as x for w32.
(fixed-pitch, variable-pitch): Remove wildcard as it prevents
face-font-family-alternatives from working.
| -rw-r--r-- | lisp/faces.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index b2b3afde8c4..c719b0a2f87 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -58,7 +58,7 @@ a font height that isn't optimal." | |||
| 58 | 58 | ||
| 59 | (defcustom face-font-family-alternatives | 59 | (defcustom face-font-family-alternatives |
| 60 | '(("courier" "fixed") | 60 | '(("courier" "fixed") |
| 61 | ("helv" "helvetica" "fixed")) | 61 | ("helv" "helvetica" "arial" "fixed")) |
| 62 | "*Alist of alternative font family names. | 62 | "*Alist of alternative font family names. |
| 63 | Each element has the the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...). | 63 | Each element has the the form (FAMILY ALTERNATIVE1 ALTERNATIVE2 ...). |
| 64 | If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then | 64 | If fonts of family FAMILY can't be loaded, try ALTERNATIVE1, then |
| @@ -1480,6 +1480,8 @@ created." | |||
| 1480 | (defface mode-line | 1480 | (defface mode-line |
| 1481 | '((((type x) (class color)) | 1481 | '((((type x) (class color)) |
| 1482 | (:box (:line-width 2 :style released-button) :background "grey75")) | 1482 | (:box (:line-width 2 :style released-button) :background "grey75")) |
| 1483 | (((type w32) (class color)) | ||
| 1484 | (:box (:line-width 2 :style released-button) :background "grey75")) | ||
| 1483 | (t | 1485 | (t |
| 1484 | (:inverse-video t))) | 1486 | (:inverse-video t))) |
| 1485 | "Basic mode line face." | 1487 | "Basic mode line face." |
| @@ -1493,6 +1495,8 @@ created." | |||
| 1493 | (defface header-line | 1495 | (defface header-line |
| 1494 | '((((type x) (class color)) | 1496 | '((((type x) (class color)) |
| 1495 | (:box (:line-width 2 :style released-button) :background "grey75")) | 1497 | (:box (:line-width 2 :style released-button) :background "grey75")) |
| 1498 | (((type w32) (class color)) | ||
| 1499 | (:box (:line-width 2 :style released-button) :background "grey75")) | ||
| 1496 | (t | 1500 | (t |
| 1497 | (:inverse-video t))) | 1501 | (:inverse-video t))) |
| 1498 | "Basic header-line face." | 1502 | "Basic header-line face." |
| @@ -1505,6 +1509,8 @@ created." | |||
| 1505 | (:box (:line-width 1 :style released-button) :background "grey75")) | 1509 | (:box (:line-width 1 :style released-button) :background "grey75")) |
| 1506 | (((type x) (class mono)) | 1510 | (((type x) (class mono)) |
| 1507 | (:box (:line-width 1 :style released-button) :background "grey")) | 1511 | (:box (:line-width 1 :style released-button) :background "grey")) |
| 1512 | (((type w32) (class color)) | ||
| 1513 | (:box (:line-width 1 :style released-button) :background "grey75")) | ||
| 1508 | (t | 1514 | (t |
| 1509 | ())) | 1515 | ())) |
| 1510 | "Basic tool-bar face." | 1516 | "Basic tool-bar face." |
| @@ -1618,12 +1624,12 @@ created." | |||
| 1618 | :group 'basic-faces) | 1624 | :group 'basic-faces) |
| 1619 | 1625 | ||
| 1620 | 1626 | ||
| 1621 | (defface fixed-pitch '((t (:family "courier*"))) | 1627 | (defface fixed-pitch '((t (:family "courier"))) |
| 1622 | "The basic fixed-pitch face." | 1628 | "The basic fixed-pitch face." |
| 1623 | :group 'basic-faces) | 1629 | :group 'basic-faces) |
| 1624 | 1630 | ||
| 1625 | 1631 | ||
| 1626 | (defface variable-pitch '((t (:family "helv*"))) | 1632 | (defface variable-pitch '((t (:family "helv"))) |
| 1627 | "The basic variable-pitch face." | 1633 | "The basic variable-pitch face." |
| 1628 | :group 'basic-faces) | 1634 | :group 'basic-faces) |
| 1629 | 1635 | ||