Use the beautiful Hasklig font when available

This commit is contained in:
Lars Tveito 2017-06-11 13:48:50 +02:00
parent 8deadfe74e
commit 98e12fc1e4

View File

@ -408,8 +408,8 @@
Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system. Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(cond ((member "Source Code Pro" (font-family-list)) (cond ((member "Hasklig" (font-family-list))
(set-face-attribute 'default nil :font "Source Code Pro-13")) (set-face-attribute 'default nil :font "Hasklig-14"))
((member "Inconsolata" (font-family-list)) ((member "Inconsolata" (font-family-list))
(set-face-attribute 'default nil :font "Inconsolata-14"))) (set-face-attribute 'default nil :font "Inconsolata-14")))
#+END_SRC #+END_SRC