Move from Hack to Fira Code
This commit is contained in:
parent
140868afbb
commit
0ad4d372fe
@ -110,7 +110,7 @@
|
||||
(use-package faces
|
||||
:ensure nil
|
||||
:custom-face
|
||||
(default ((t (:family "Hack" :foundry "simp" :slant normal :weight normal :height 98 :width normal))))
|
||||
(default ((t (:family "Fira Code Retina" :foundry "simp" :slant normal :weight normal :height 110 :width normal))))
|
||||
(trailing-whitespace ((t (:inherit nil :background "red3")))))
|
||||
#+end_src
|
||||
|
||||
@ -1265,8 +1265,8 @@ Before this can be used, make sure the [[https://zhm.github.io/symbola/][Symbola
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun gpolonkai/set-font-size (frame)
|
||||
(when (display-graphic-p frame)
|
||||
(set-face-attribute 'default frame :font "Hack-12")
|
||||
(set-frame-font "Hack-12" t (list frame))))
|
||||
(set-face-attribute 'default frame :font "Fira Code Retina-14")
|
||||
(set-frame-font "Fira Code Retina-14" t (list frame))))
|
||||
|
||||
(defun --set-emoji-font (frame)
|
||||
"Adjust the font setting of FRAME so Emacs can display Emoji properly."
|
||||
|
Loading…
Reference in New Issue
Block a user