Change the default font size
This commit is contained in:
parent
10faa3b170
commit
47c0d61301
@ -744,7 +744,7 @@ This might (should?) become a [[*general][general]] map later.
|
|||||||
(use-package faces
|
(use-package faces
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:custom-face
|
:custom-face
|
||||||
(default ((t (:family "Fira Code Retina" :foundry "simp" :slant normal :weight normal :height 96 :width normal))))
|
(default ((t (:family "Fira Code Retina" :foundry "simp" :slant normal :weight normal :height 100 :width normal))))
|
||||||
(trailing-whitespace ((t (:inherit nil :background "red3")))))
|
(trailing-whitespace ((t (:inherit nil :background "red3")))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
@ -829,8 +829,8 @@ Before this can be used, make sure the [[https://zhm.github.io/symbola/][Symbola
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun gpolonkai/set-font-size (frame)
|
(defun gpolonkai/set-font-size (frame)
|
||||||
(when (display-graphic-p frame)
|
(when (display-graphic-p frame)
|
||||||
(set-face-attribute 'default frame :font "Fira Code Retina-14")
|
(set-face-attribute 'default frame :font "Fira Code Retina-10")
|
||||||
(set-frame-font "Fira Code Retina-14" t (list frame))))
|
(set-frame-font "Fira Code Retina-10" t (list frame))))
|
||||||
|
|
||||||
(defun --set-emoji-font (frame)
|
(defun --set-emoji-font (frame)
|
||||||
"Adjust the font setting of FRAME so Emacs can display Emoji properly."
|
"Adjust the font setting of FRAME so Emacs can display Emoji properly."
|
||||||
|
Loading…
Reference in New Issue
Block a user