aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-09-21 18:01:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-09-21 18:01:55 +0000
commitf20b08db3d77ba43f63ce37a29da8b6f8263f46b (patch)
tree0c530d8d555798a792dfc725919990f9e8ae5b3a /doc
parentdoc: describe font fallback handling (diff)
main: -f,--font now accepts a list of fonts
This makes -f,--font behave just like the configuration file option 'font'; the first font in the list is the primary font, and the remaining fonts are fallback fonts used when a glyph cannot be found in the primary font.
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 798bc457..220a06a5 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -13,8 +13,19 @@ execute (instead of the shell).
# OPTIONS
*-f*,*--font*=_FONT_
- Font and style to use, in fontconfig format. See *FONT
- FORMAT*. Default: _monospace_.
+ Comma separated list of fonts to use, in fontconfig format (see
+ *FONT FORMAT*).
+
+ The first font is the primary font. The remaining fonts are
+ fallback fonts that will be used whenever a glyph cannot be found
+ in the primary font.
+
+ The fallback fonts are searched in the order they appear. If a
+ glyph cannot be found in any of the fallback fonts, the dynamic
+ fallback list from fontconfig (for the primary font) is
+ searched.
+
+ Default: _monospace_.
*-g*,*--geometry*=_WIDTHxHEIGHT_
Set initial window width and height.