1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00

add some docs for font fallback

This commit is contained in:
Wez Furlong 2020-01-26 12:06:15 -08:00
parent 2ad09cec36
commit 6870da5ce1

View File

@ -40,6 +40,25 @@ family = "Operator Mono SSm Lig Medium"
# italic = false
```
If you'd like to specify fallback fonts (eg: you've got a killer
monospace font, but it doesn't have glyphs for the asian script
that you sometimes work with), you can specify multiple fonts that
wezterm will use in the order you specify:
```toml
[[font.font]]
family = "My Preferred Font"
# This is searched for glyphs that aren't found in the first one
[[font.font]]
family = "My second best font"
# This is searched for glyphs that aren't found in either of
# the first two
[[font.font]]
family = "My third best font"
```
You may specify rules that apply different font styling based on
the attributes of the text rendered in the terminal. Rules are
applied in the order that they are specified in the configuration