Set different font sizes on platforms
This commit is contained in:
parent
e1d5c18deb
commit
5bf03d3dab
1 changed files with 3 additions and 5 deletions
|
@ -22,10 +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.1 :family "Noto Serif"))))
|
||||
(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 (if (eq system-type 'windows-nt) 1.0 1.1) :family "Noto Serif"))))
|
||||
:mode ("\\.epub\\'" . nov-mode)
|
||||
:init
|
||||
(add-hook 'nov-mode-hook #'shrface-mode)
|
||||
|
@ -338,5 +336,5 @@
|
|||
(gptel-default-mode 'org-mode)
|
||||
(gptel-model "gpt-4")
|
||||
:config
|
||||
(when (eq system-name 'windows-nt)
|
||||
(when (eq system-type 'windows-nt)
|
||||
(setq gptel-use-curl nil)))
|
||||
|
|
Loading…
Add table
Reference in a new issue