From 272017a9e21dbdb08d697f5938ff60ebd79cf973 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 14 Mar 2023 17:39:22 -0400 Subject: [PATCH] Increase font size on wsl Work around the lack of fractional scaling on wsl --- config.org | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index 0d7ab16..00a81a9 100644 --- a/config.org +++ b/config.org @@ -32,9 +32,13 @@ The provided default ~config.el~ ;; See 'C-h v doom-font' for documentation and more examples of what they ;; accept. For example: ;; -(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 (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-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 ;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to