+;; Read ePub files
+(use-package nov
+ :ensure t
+ :init
+ (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
+ :config
+ (add-hook 'nov-mode-hook #'variable-pitch-mode))
+
+;; Set some preset fonts
+(use-package fontaine
+ :ensure t
+ :config
+ (setq fontaine-presets
+ '((regular-1
+ :default-family "Iosevka Nerd Font"
+ :default-height 120
+ :variable-pitch-family "Linux Biolinum O"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.1
+ :italic-family "Iosevka Etoile"
+ :line-spacing 1)
+ (large-1
+ :default-family "Iosevka Nerd Font"
+ :default-height 150
+ :variable-pitch-family "Linux Biolinum O"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.1
+ :italic-family "Iosevka Etoile"
+ :line-spacing 1)
+ (regular-2
+ :default-family "Fira Mono Nerd Font"
+ :default-height 140
+ :variable-pitch-family "Fira Sans Book"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.0
+ :line-spacing 1)
+ (large-2
+ :default-family "Fira Mono Nerd Font"
+ :default-height 140
+ :variable-pitch-family "Fira Sans Book"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.0
+ :line-spacing 1)
+ (ereader-Baskerville
+ :variable-pitch-family "Libre Baskerville"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.0
+ :line-spacing 1)
+ (ereader-Noto-Serif
+ :variable-pitch-family "Noto Serif"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.0
+ :line-spacing 1)
+ (ereader-Bembo-Tufte
+ :variable-pitch-family "ETBembo"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.1
+ :line-spacing 1)
+ (ereader-Literata
+ :variable-pitch-family "Literata"
+ :variable-pitch-weight normal
+ :variable-pitch-height 1.0
+ :line-spacing 1))))
+