diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-20 19:04:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-20 19:04:47 +0000 |
| commit | 2c101a21ee6df096dadd60a77b4cb190f8503490 (patch) | |
| tree | 44cd2bbd1e92c7a075f22e9e8f991ae064e49774 /doc | |
| parent | osc: change info logging to debug logging when changing the cursor color (diff) | |
config: add font-bold, font-italic and font-bold-italic options
These options lets the user configure custom fonts and styles, to use
with the bold and italic cell attributes.
By default, they are unset, meaning we use the bold/italic variants of
the regular font.
Closes #169.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 371dd7e0..979d2894 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -20,20 +20,27 @@ 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. + + Default: _monospace_ (*font*), _not set_ (*font-bold*, + *font-italic*, *font-bold-italic*). *pad* Padding between border and glyphs, in pixels (subject to output |
