Use specific face setttings on nov mode only on linux

This commit is contained in:
Marcus Kammer 2024-02-14 09:37:08 +01:00
parent 03f7710305
commit 1e5a04b6ff

View file

@ -21,7 +21,8 @@
(defun mk/nov-font-settings ()
(setq-local line-spacing 2)
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family (if (eq system-type 'windows-nt) "Noto Serif" "Bitter Pro")))
(when (eq system-type 'gnu/linux)
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Bitter Pro")))
(use-package nov
:hook ((nov-mode . visual-line-mode)