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
|
(use-package nov
|
||||||
:hook ((nov-mode . visual-line-mode)
|
:hook ((nov-mode . visual-line-mode)
|
||||||
(nov-mode . (lambda ()
|
(nov-mode . (lambda ()
|
||||||
(if (eq system-type 'windows-nt) (setq-local line-spacing 2) (setq-local line-spacing 4))
|
(setq-local line-spacing 2)
|
||||||
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Noto Serif"))))
|
(face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Bitter Pro"))))
|
||||||
:mode ("\\.epub\\'" . nov-mode)
|
:mode ("\\.epub\\'" . nov-mode)
|
||||||
:init
|
:init
|
||||||
(add-hook 'nov-mode-hook #'shrface-mode)
|
(add-hook 'nov-mode-hook #'shrface-mode)
|
||||||
|
|
Loading…
Add table
Reference in a new issue