Update FAQ for displaying icons correctly.

This commit is contained in:
Vincent Zhang 2020-06-30 10:55:23 +08:00
parent f57d1afae8
commit a4b4c4a965

View file

@ -319,6 +319,26 @@ Run `M-x customize-group RET doom-modeline RET` or set the variables.
## FAQ
1. How to display icons correctly?
[all-the-icons](https://github.com/domtronn/all-the-icons.el) are necessary.
Run `M-x all-the-icons-install-fonts` to install the resource fonts. On
Windows, the fonts should be installed manually. `all-the-icons` only
support GUI. If you don't like color icons, `(setq all-the-icons-color-icons
nil)` to disable it. Please refer to
[all-the-icons.el](https://github.com/domtronn/all-the-icons.el) for
details.
If the icons are not displayed correctly although `all-the-icons` fonts are
installed correctly, please install the
[non-free](http://users.teilar.gr/~g1951d/License.pdf) font
[Symbola](https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip).
This issue usually occurs on Windows.
If you are using [cnfonts](https://github.com/tumashu/cnfonts), it will
conflict with `all-the-icons`. The workaround is
[here](https://github.com/seagle0128/doom-modeline/issues/278#issuecomment-569510336).
1. I am experiencing the laggy issue, how to resolve it?
Add this configuration into your init file: