all repos — nixfiles @ e2cd7e8101cab293469deb21eb6758ba6b48a9dc

System and user configuration, managed by nix and home-manager

Emacs: Set fonts on Windows
Alan Pearce alan@alanpearce.eu
Thu, 01 Jun 2017 17:37:50 +0200
commit

e2cd7e8101cab293469deb21eb6758ba6b48a9dc

parent

6460d97d5ec5b2581d99c1c5efc3670b1c6d1710

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -229,7 +229,10 @@ (ap/set-fonts "Monoid" 12 "Helvetica Neue" 12 t 0.1))))      ((and (eq window-system 'x)
            (not (getenv "windows")))
       (set-fontset-font "fontset-default" 'unicode (font-spec :name "Terminus" :size 18))
-      (ap/set-fonts "Terminus" 18 "Lucida" 14 nil))))
+      (ap/set-fonts "Terminus" 18 "Lucida" 14 nil))
+     ((and (eq window-system 'x)
+           (getenv "windows"))
+      (ap/set-fonts "Noto Mono" 15 "Sans" 15 nil))))
 
   (ap/set-fonts-according-to-system))
 #+END_SRC