all repos — nixfiles @ 803c99c5f1205f82e3f2e2ed7eda77a84450184b

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

Emacs: change font size to follow DPI
Alan Pearce alan@alanpearce.uk
Wed, 26 Apr 2017 12:28:32 +0200
commit

803c99c5f1205f82e3f2e2ed7eda77a84450184b

parent

986c9b5b1d7cfa1f6633211a1526322f43cd8e6a

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

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -248,8 +248,8 @@ (if (eq displays 1)             (ap/set-fonts "Roboto Mono" 13 "Lucida Grande" 13 t)
           (ap/set-fonts "Monaco" 10 "Lucida Grande" 12 nil))))
      ((eq window-system 'x)
-      (set-fontset-font "fontset-default" 'unicode (font-spec :name "Terminus" :size 8))
-      (ap/set-fonts "Fixed" 8 "Lucida" 8 nil))))
+      (set-fontset-font "fontset-default" 'unicode (font-spec :name "Terminus" :size 14))
+      (ap/set-fonts "Fixed" 14 "Lucida" 14 nil))))
 
   (ap/set-fonts-according-to-system))
 #+END_SRC