From 3e1ee082bd646825f51f77d2aec585c3767d20ee Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Mon, 18 Dec 2023 11:23:19 -0500 Subject: [PATCH] [emacs] Add weights to font definitions Fixes doom-big-font-mode (https://github.com/doomemacs/doomemacs/issues/7510) --- .doom.d/config.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.doom.d/config.org b/.doom.d/config.org index 3763d06..8cbad95 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -12,7 +12,7 @@ It's Catppuccin time! #+end_src ** Default font #+begin_src emacs-lisp - (setq doom-font (font-spec :family "Inconsolata" :size 16)) + (setq doom-font (font-spec :family "Inconsolata" :size 16 :weight 'medium)) #+end_src ** Dashboard Customize the Doom Emacs dashboard with commissioned artwork, chosen randomly. @@ -60,7 +60,7 @@ https://dtinth.github.io/comic-mono-font/ #+begin_src emacs-lisp (defun my/buffer-face-comic-mono () (interactive) - (setq buffer-face-mode-face '(:family "Comic Mono")) + (setq buffer-face-mode-face '(:family "Comic Mono" :weight 'medium)) (buffer-face-mode)) (after! php-mode @@ -78,7 +78,7 @@ version of the [[https://github.com/edwardtufte/et-book][Edward Tufte book font] #+begin_src emacs-lisp (use-package! mixed-pitch :hook ((org-mode markdown-mode rst-mode) . mixed-pitch-mode)) - (setq doom-variable-pitch-font (font-spec :family "ETBookOT")) + (setq doom-variable-pitch-font (font-spec :family "ETBookOT" :weight 'medium)) #+end_src * UX Improvements ** Disable C-z backgrounding when the GUI is loaded