Increase font size on wsl

Work around the lack of fractional scaling on wsl
This commit is contained in:
Nathan McCarty 2023-03-14 17:39:22 -04:00
parent 384445e0c9
commit 272017a9e2
No known key found for this signature in database
1 changed files with 7 additions and 3 deletions

View File

@ -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")
doom-unicode-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light) (setq doom-font (font-spec :family "Iosevka" :size 16 :weight 'semi-light)
doom-variable-pitch-font (font-spec :family "Iosevka Sans Quasi" :size 15)) 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-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