aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-07 10:48:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-11 08:31:07 +0000
commitd1f43371bb6bbd5d5d81472cc117effe0c0be3f5 (patch)
treead44b933a11940b0934380bfae4b0d7e504de1b5 /doc
parentdoc: foot.ini: put ‘shell’, ‘login-shell’ and ‘term’ first (diff)
doc: foot.ini: document line-height, letter-spacing and letter offsets
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index d3d9b523..32e989c4 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -64,6 +64,28 @@ in this order:
Default: _monospace:size=8_ (*font*), _not set_ (*font-bold*,
*font-italic*, *font-bold-italic*).
+*line-height*
+ An absolute value, in pixels, that override line height from the
+ font metrics.
+
+ See also: *vertical-letter-offset*
+
+ Default: _no set_.
+
+*letter-spacing*
+ Spacing between letters. A positive value will increase the cell
+ size, and a negative value shrinks it.
+
+ See also: *horizontal-letter-offset*
+
+ Default: _0_.
+
+*horizontal-letter-offset*, *vertical-letter-offset*
+ Configure the horizontal and vertical offsets used when
+ positioning glyphs within cells, relative to the top left corner.
+
+ Default: _0_.
+
*dpi-aware*
*auto*, *yes*, or *no*. When set to *yes*, fonts are sized using
the monitor's DPI, making a font of a given size have the same