From b0511484732a2d34c725ba747ea8400a678f1ef8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 18 Aug 2020 23:51:49 +0100 Subject: fix(tazjin/emacs): Use 'Semi Light' font weight on frog The font weight rendering issue on frog is, for now, undefeatable and I'm resorting to just using a lighter font base weight which makes it possible to actually see bold things. Change-Id: Ida10f2e8d728039c9ab76bfab1fd0d36340fbac7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1785 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/look-and-feel.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'users/tazjin') diff --git a/users/tazjin/emacs/config/look-and-feel.el b/users/tazjin/emacs/config/look-and-feel.el index 5a4d874f6f..8cca6e1bf0 100644 --- a/users/tazjin/emacs/config/look-and-feel.el +++ b/users/tazjin/emacs/config/look-and-feel.el @@ -22,7 +22,16 @@ (blink-cursor-mode -1)) ;; Configure Emacs fonts. -(let ((font (format "JetBrains Mono-%d" 12))) +(let ((font (if (equal "frog" (s-trim (shell-command-to-string "hostname"))) + ;; For unclear reasons, frog refuses to render the + ;; regular font weight - everything ends up bold, + ;; which makes it hard to distinguish e.g. read/unread + ;; emails. + ;; + ;; Semi-bold looks a little different than on vauxhall + ;; and other machines, but it's alright. + (format "JetBrains Mono Semi Light-%d" 12) + (format "JetBrains Mono-%d" 12)))) (setq default-frame-alist `((font . ,font))) (set-frame-font font t t)) -- cgit 1.4.1