From 4178ff9c186865dc0eb4f5bf4b6b87400df03454 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 2 Feb 2022 18:28:50 -0600 Subject: Fonts --- machines/bob.el | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'machines') diff --git a/machines/bob.el b/machines/bob.el index 4192291..645ab7a 100644 --- a/machines/bob.el +++ b/machines/bob.el @@ -6,19 +6,16 @@ (require 'acdw) -;; (+set-faces `((default :family "DejaVu Sans Mono" -;; :height 105) -;; (fixed-pitch :inherit default) -;; (variable-pitch :family "DejaVu Sans" -;; :height 1.1))) - ;; [[https://twitter.com/NPRougier/status/1488570192561160195][from Nic Rougier]] -(+set-faces - '((default :family "Roboto Mono" :weight light :height 110) - (bold :family "Roboto Mono" :weight regular) - (italic :family "Victor Mono" :weight semilight :slant italic))) +(add-function :after machine-after-load-theme + (defun +bob-set-faces (&rest _) + (+set-faces + '((default :family "Roboto Mono" :weight regular :height 110) + (bold :family "Roboto Mono" :weight medium) + (italic :family "Victor Mono" :weight medium :slant italic))))) -(set-fontset-font t 'unicode - (font-spec :name "Inconsolata Light" :size 10) nil) +(+with-ensure-after-init + (set-fontset-font t 'unicode + (font-spec :name "Inconsolata Light" :size 10) nil)) ;;; bob.el ends here -- cgit 1.4.1-21-gabe81