@@ -424,35 +424,41 @@ Run `M-x customize-group RET doom-modeline RET` or set the variables.
424424 (add-hook 'doom-modeline-mode-hook 'setup-custom-doom-modeline)
425425 ```
426426
427- 1. How to specify font family in modeline?
427+ 1. How to specify font family and size in modeline?
428428
429429 For example:
430430
431431 ```emacs-lisp
432- (setq doom-modeline-height 1)
433- (set-face-attribute 'doom-modeline nil :family "Noto Sans" :height 100)
434- (set-face-attribute 'doom-modeline -inactive nil :family "Noto Sans" :height 100)
432+ (setq doom-modeline-height 1) ; optional
433+ (set-face-attribute 'mode-line nil :family "Noto Sans" :height 100)
434+ (set-face-attribute 'mode-line -inactive nil :family "Noto Sans" :height 100)
435435 ```
436436
437437 or
438438
439439 ``` emacs-lisp
440+ (setq doom-modeline-height 1) ; optional
440441 (custom-set-faces
441- '(doom-modeline ((t (:family "Noto Sans" :height 0.9))))
442- '(doom-modeline -inactive ((t (:family "Noto Sans" :height 0.9)))))
442+ '(mode-line ((t (:family "Noto Sans" :height 0.9))))
443+ '(mode-line -inactive ((t (:family "Noto Sans" :height 0.9)))))
443444 ```
444445
445446 Please refer to
446447 [ #189 ] ( https://github.com/seagle0128/doom-modeline/issues/189 ) and
447448 [ #301 ] ( https://github.com/seagle0128/doom-modeline/issues/301 ) .
448449
450+ 1 . The right side of the modeline is cut off. How to fix it?
451+
452+ - Tweak ` all-the-icons-scale-factor ` . e.g. ` (setq all-the-icons-scale-factor 1.1) `
453+ - Use another font family or size. See above.
454+
4494551 . How to disable symbolic links expanding in mode-line?
450456
451457 If you encounter the issue like this
452458
453459 ![ Screenshot] ( https://user-images.githubusercontent.com/9449246/62822565-c3f93380-bb74-11e9-95f6-f9c24a6cbd14.png )
454460
455- please try this setting
461+ please try this:
456462
457463 ``` elisp
458464 ;; built-in `project' on 26+
0 commit comments