Update font face for nov mode
This commit is contained in:
parent
d916d821ba
commit
164ce33278
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
|||
(use-package nov
|
||||
:hook ((nov-mode . visual-line-mode)
|
||||
(nov-mode . (lambda ()
|
||||
(if (eq system-type 'windows-nt) (setq-local line-spacing 2) (setq-local line-spacing 4))
|
||||
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Noto Serif"))))
|
||||
(setq-local line-spacing 2)
|
||||
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Bitter Pro"))))
|
||||
:mode ("\\.epub\\'" . nov-mode)
|
||||
:init
|
||||
(add-hook 'nov-mode-hook #'shrface-mode)
|
||||
|
|
Loading…
Add table
Reference in a new issue