From dece1658ef47dfa28938f7b5f3518e26812b01d6 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Sat, 9 Sep 2017 20:26:43 +0200 Subject: Document new customizable and font customization --- README.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.rst b/README.rst index cb8f863..c51cf48 100644 --- a/README.rst +++ b/README.rst @@ -46,6 +46,30 @@ Put the following in your init file: (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)) +Customization +------------- + +While the defaults make for an acceptable reading experience, it can +be improved with any of the following changes: + +Default font +............ + +To change the default font, use ``M-x customize-face RET +variable-pitch``, pick a different family, save and apply. If you +dislike globally customizing that face, add the following to your init +file: + +.. code:: elisp + + (defun my-nov-font-setup () + (face-remap-add-relative 'variable-pitch :family "Liberation Serif")) + (add-hook 'nov-mode-hook 'my-nov-font-setup) + +To completely disable the variable pitch font, customize +``nov-variable-pitch`` to ``nil``. Text will be displayed with the +default face instead which should be using a monospace font. + Usage ----- -- cgit v1.2.3