about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-12-28 18:18:51 -0600
committerCase Duckworth2021-12-28 18:18:51 -0600
commit9dc88b480303164bc87f3a2fe244dec627d60cd2 (patch)
tree2a1849f2f536d2c0afa7f0fd0a03cae509e14cef
parentFix typo (diff)
downloademacs-9dc88b480303164bc87f3a2fe244dec627d60cd2.tar.gz
emacs-9dc88b480303164bc87f3a2fe244dec627d60cd2.zip
Setup variable-pitch font
-rw-r--r--early-init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/early-init.el b/early-init.el index ccd1ff4..d84525d 100644 --- a/early-init.el +++ b/early-init.el
@@ -49,11 +49,15 @@ See `no-littering' for examples.")
49 49
50;; Fonts 50;; Fonts
51(let ((font-name "Go Mono") 51(let ((font-name "Go Mono")
52 (font-size 105)) 52 (font-size 108)
53 (variable-font-name "Go")
54 (variable-font-size 1.0))
53 (set-face-attribute 'default nil :family font-name 55 (set-face-attribute 'default nil :family font-name
54 :height font-size :weight 'book) 56 :height font-size :weight 'book)
55 (set-face-attribute 'italic nil :family font-name 57 (set-face-attribute 'italic nil :family font-name
56 :height font-size :slant 'italic)) 58 :height font-size :slant 'italic)
59 (set-face-attribute 'variable-pitch nil :family variable-font-name
60 :height variable-font-size))
57 61
58;;; Packages 62;;; Packages
59 63