Commit 1c58fa1d authored by Eli Zaretskii's avatar Eli Zaretskii

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:
parent c6077bfd
......@@ -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
:font "-outline-Arial-normal-normal-normal-sans-*-*-*-*-p-*-iso8859-1")
(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