parent
f90f1c212e
commit
a2814629a0
2 changed files with 42 additions and 11 deletions
|
@ -39,6 +39,18 @@ It also provides easy font configuration for Hebrew and Arabic-derived scripts
|
|||
See [[Fonts]] for more information. If you use an RTL language that isn't covered by
|
||||
these characters, open an issue requesting support for it.
|
||||
|
||||
To resize fonts, don't include a ~:size~ parameter in ~+bidi-hebrew-font~ or
|
||||
~+bidi-arabic-font~, set ~+bidi-hebrew-font-scale~ or ~+bidi-arabic-font-scale~
|
||||
instead, or add an entry to ~face-font-rescale-alist~ for your font. E.g.
|
||||
#+begin_src emacs-lisp
|
||||
;;; Add to $DOOMDIR/config.el
|
||||
(setq +bidi-arabic-font-scale 1.5)
|
||||
;; or
|
||||
(setq +bidi-hebrew-font-scale 2.5)
|
||||
;; or
|
||||
(add-to-list 'face-font-rescale-alist '("DejaVu Sans" . 1.2))
|
||||
#+end_src
|
||||
|
||||
* Configuration
|
||||
** Using ~+bidi-mode~
|
||||
~+bidi-mode~ is a local minor mode, meaning it has to be turned on a per-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue