Increase font size on wsl
Work around the lack of fractional scaling on wsl
This commit is contained in:
parent
384445e0c9
commit
272017a9e2
|
@ -32,9 +32,13 @@ The provided default ~config.el~
|
||||||
;; See 'C-h v doom-font' for documentation and more examples of what they
|
;; See 'C-h v doom-font' for documentation and more examples of what they
|
||||||
;; accept. For example:
|
;; accept. For example:
|
||||||
;;
|
;;
|
||||||
(setq doom-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
(if (string= (system-name) "wsl")
|
||||||
|
(setq doom-font (font-spec :family "Iosevka" :size 16 :weight 'semi-light)
|
||||||
|
doom-unicode-font (font-spec :family "Iosevka" :size 16 :weight 'semi-light)
|
||||||
|
doom-variable-pitch-font (font-spec :family "Iosevka Sans Quasi" :size 19))
|
||||||
|
(setq doom-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
||||||
doom-unicode-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
doom-unicode-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
||||||
doom-variable-pitch-font (font-spec :family "Iosevka Sans Quasi" :size 15))
|
doom-variable-pitch-font (font-spec :family "Iosevka Sans Quasi" :size 15)))
|
||||||
;;
|
;;
|
||||||
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||||
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
||||||
|
|
Loading…
Reference in New Issue