From 9896e7f5861beeb591ece48f38d1135ffdc6059b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 22 Apr 2026 11:36:09 -0500 Subject: feat(font): set default font height per machine The default fontaine preset now picks its height based on `env-laptop-p`. Laptop: 120 (12pt). Desktop: 140 (14pt), matches foot's `size=14`. Text reads at the same size across Emacs and the terminal. This reuses `env-laptop-p` from `host-environment.el` instead of adding a gitignored local override. --- modules/font-config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/font-config.el b/modules/font-config.el index c56f0ad7..683e47e1 100644 --- a/modules/font-config.el +++ b/modules/font-config.el @@ -77,11 +77,11 @@ ("M-S-f" . fontaine-set-preset) ;; was M-F, overrides forward-word :config (setq fontaine-presets - '( + `( (default :default-family "BerkeleyMono Nerd Font" :default-weight regular - :default-height 120 + :default-height ,(if (env-laptop-p) 120 140) :fixed-pitch-family nil ;; falls back to :default-family :fixed-pitch-weight nil ;; falls back to :default-weight :fixed-pitch-height 1.0 -- cgit v1.2.3