commit 7494b38f8f9bf9441a80347419453d44424e41a2
parent 9227fa920b64c0e28d0fdee394b1c6fbd0dbe5b1
Author: Ethan Long <me@ethandl.dev>
Date: Wed, 7 Jan 2026 14:44:25 +1100
Changed the org font, I am not really a fan of ETBook anymore to be honest
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/config.org b/config.org
@@ -102,8 +102,8 @@ The following function is the config for org to set all the fonts. It is still a
(require 'org)
(let*
;; Variable bindings
- ((variable-font (if (x-list-fonts "ETBookOT")
- '(:font "ETBookOT")
+ ((variable-font (if (x-list-fonts "P052")
+ '(:font "P052")
'(:family "Serif")))
(mono-font (if (x-list-fonts ethandl/code-font)
`(:font ,ethandl/code-font)
@@ -221,6 +221,8 @@ Now we use [[*Code fonts][the font helper function that I defined earlier]] to a
We also want this to run after we make a new frame, in case we are running emacs as a daemon.
#+begin_src emacs-lisp
(add-hook 'after-make-frame-functions (apply-partially #'ethandl/set-fonts ethandl/code-font))
+ (add-hook 'after-make-frame-functions
+ #'(lambda (frame) (run-with-timer 1 nil #'meow--prepare-face)))
#+end_src
**** Font supported ligatures for ~ligature.el~
Each font has its own set of supported ligatures.
@@ -534,7 +536,9 @@ This solution will increase startup time, but will fix any path issues for most
#+begin_src emacs-lisp
(use-package pdf-tools
:mode ("\\.[pP][dD][fF]\\'" . pdf-view-mode)
- :hook (pdf-view-mode . auto-revert-mode)
+ :hook
+ (pdf-view-mode . auto-revert-mode)
+ (pdf-view-mode . pdf-view-midnight-minor-mode)
:config
(setq-default pdf-view-display-size 'fit-page)
(setq pdf-annot-activate-created-annotations t))