Fix mono font on windows
This commit is contained in:
parent
d69362a064
commit
c94c4a39eb
1 changed files with 16 additions and 1 deletions
17
init.el
17
init.el
|
@ -376,10 +376,18 @@
|
||||||
|
|
||||||
;; Fonts
|
;; Fonts
|
||||||
|
|
||||||
|
(if (iswin)
|
||||||
|
(custom-set-faces
|
||||||
|
'(default ((t (:family "Noto Mono" :foundry "outline" :slant normal :weight normal :height 98 :width normal))))
|
||||||
|
'(italic ((t (:slant italic))))
|
||||||
|
'(variable-pitch ((t (:family "Noto Sans" :height 90))))
|
||||||
|
'(fixed-pitch ((t (:family "Noto Mono" :height 90))))))
|
||||||
|
|
||||||
|
(unless (iswin)
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(italic ((t (:slant italic))))
|
'(italic ((t (:slant italic))))
|
||||||
'(variable-pitch ((t (:family "Noto Sans" :height 90))))
|
'(variable-pitch ((t (:family "Noto Sans" :height 90))))
|
||||||
'(fixed-pitch ((t (:family "Noto Mono" :height 90)))))
|
'(fixed-pitch ((t (:family "Noto Mono" :height 90))))))
|
||||||
|
|
||||||
(use-package mixed-pitch
|
(use-package mixed-pitch
|
||||||
;; intelligent face setting
|
;; intelligent face setting
|
||||||
|
@ -405,3 +413,10 @@
|
||||||
"))
|
"))
|
||||||
|
|
||||||
(org-reload)
|
(org-reload)
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(show-paren-mode t)
|
||||||
|
'(tool-bar-mode nil))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue