From 4ba0c92df0e4d4e5406fe0fe676709b973674978 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 30 Mar 2021 12:30:51 -0500 Subject: Set all fonts on all possible systems --- init.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index b2236a1..f7db5e0 100644 --- a/init.el +++ b/init.el @@ -221,6 +221,20 @@ scroll-conservatively 101 scroll-preserve-screen-position 1) +;; Fonts +(set-face-attribute 'default nil + :font (pcase acdw/system + (:home "DejaVu Sans Mono-10") + (:work "Consolas-10") + (:other "monospace-10"))) +(set-face-attribute 'fixed-pitch nil + :inherit 'default) +(set-face-attribute 'variable-pitch nil + :font (pcase acdw/system + (:home "DejaVu Sans") + (:work "Calibri-11") + (:other "sans-serif"))) + ;; MS Windows (setc w32-allow-system-shell t w32-pass-lwindow-to-system nil -- cgit 1.4.1-21-gabe81