From d140c1150db21b2957379c778d5974ff951e459f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 4 Dec 2016 20:52:11 +0800 Subject: _spacemacs: Set the font of "variable-pitch" Credit: http://stackoverflow.com/a/28484419 --- _spacemacs.d/init.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '_spacemacs.d/init.el') diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el index 8eb3771..6abb741 100644 --- a/_spacemacs.d/init.el +++ b/_spacemacs.d/init.el @@ -455,11 +455,14 @@ ;; ;; Change `powerline' separator (setq powerline-default-separator nil) - ;; Set monospaced font size for Chinese - (spacemacs//set-monospaced-font "M+ 1mn" "WenQuanYi Zen Hei" 14 14) ;; Display tildes in the fringe on empty lines (global-vi-tilde-fringe-mode) ;; + ;; Set the font of `variable-pitch' + (set-face-font 'variable-pitch "M+ 1C") + ;; Set monospaced font size for Chinese (from `chinese' layer) + (spacemacs//set-monospaced-font "M+ 1mn" "WenQuanYi Zen Hei" 14 14) + ;; ;; Enable fill column indicator in most modes, except for `org-mode' ;; Credit: https://github.com/syl20bnr/spacemacs/issues/4506 ;; WARNING: -- cgit v1.2.2