Move from Hack to Fira Code

This commit is contained in:
Gergely Polonkai 2023-08-30 16:34:05 +02:00
parent 140868afbb
commit 0ad4d372fe
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 3 additions and 3 deletions

View File

@ -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."