mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Improve definition of 'variable-pitch' face on MS-Windows
* lisp/faces.el (variable-pitch): Don't specify too many attributes of the font, otherwise faces that request different weight or slant or size will not get them.
This commit is contained in:
parent
16fb50db11
commit
c2fd04c8d5
1 changed files with 6 additions and 3 deletions
|
@ -2311,10 +2311,13 @@ If you set `term-file-prefix' to nil, this function does nothing."
|
||||||
|
|
||||||
(defface variable-pitch
|
(defface variable-pitch
|
||||||
'((((type w32))
|
'((((type w32))
|
||||||
;; This is a kludgy workaround for an issue discussed in
|
;; This is a workaround for an issue discussed in
|
||||||
;; http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
|
;; http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
|
||||||
:font "-outline-Arial-normal-normal-normal-sans-*-*-*-*-p-*-iso8859-1")
|
;; We need (a) the splash screen not to pick up bold-italics variant of
|
||||||
(t :family "Sans Serif"))
|
;; the font, and (b) still be able to request bold/italic/larger size
|
||||||
|
;; variants in the likes of EWW.
|
||||||
|
:family "Arial" :foundry "outline")
|
||||||
|
(t :family "Sans Serif"))
|
||||||
"The basic variable-pitch face."
|
"The basic variable-pitch face."
|
||||||
:group 'basic-faces)
|
:group 'basic-faces)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue