aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-21 14:33:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-21 14:33:45 +0000
commit353e51b0a15cc9113ef868d557e9344744943ae6 (patch)
tree2eba0cc92115fd9e593a1e2ad9784b2110d7771c /doc
parentchangelog: restored -> restore (diff)
parentdoc: foot.ini.5: mention how one can disable bold/italic fonts completely (diff)
Merge branch 'custom-bold-italic-fonts'
Closes #169
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd20
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 371dd7e0..73ddd883 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -20,20 +20,30 @@ in this order:
# SECTION: default
-*font*
+*font*, *font-bold*, *font-italic*, *font-bold-italic*
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.
+ For each option, 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_.
+ *font-bold*, *font-italic* and *font-bold-italic* allow custom
+ fonts to be used for bold/italic/bold+italic fonts. If left
+ unconfigured, the bold/italic variants of the regular font(s)
+ specified in *font* are used. *Note*: you _may_ have to tweak the
+ size(s) of the custom bold/italic fonts to match the regular font.
+
+ To disable bold and/or italic fonts, set e.g. *font-bold* to
+ _exactly_ the same value as *font*.
+
+ Default: _monospace_ (*font*), _not set_ (*font-bold*,
+ *font-italic*, *font-bold-italic*).
*pad*
Padding between border and glyphs, in pixels (subject to output