Use specific face setttings on nov mode only on linux
This commit is contained in:
parent
03f7710305
commit
1e5a04b6ff
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue