diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-04-30 12:56:03 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-04-30 12:56:03 +0300 |
commit | 1c58fa1d09686b1c1ea676c7be46055722608e6c (patch) | |
tree | 90cb5e95bcdb175974f305af2c8b13be06b83459 /lisp/faces.el | |
parent | c6077bfd297a8a0e4deaec217db17be630d98b9c (diff) | |
download | emacs-1c58fa1d09686b1c1ea676c7be46055722608e6c.tar.gz |
Fix variable-pitch font on MS-Windows
* lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
explicitly, to avoid Emacs picking up a bold-italic variant on
some MS-Windows systems. See this thread for details:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r-- | lisp/faces.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 612bd1677bb..5f3020b3189 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2281,7 +2281,11 @@ If you set `term-file-prefix' to nil, this function does nothing." :group 'basic-faces) (defface variable-pitch - '((t :family "Sans Serif")) + '((((type w32)) + ;; This is a kludgey workaround for an issue discussed in + ;; http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html. + :font "-outline-Arial-normal-normal-normal-sans-*-*-*-*-p-*-iso8859-1") + (t :family "Sans Serif")) "The basic variable-pitch face." :group 'basic-faces) |