aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-07 14:31:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-07 14:31:40 +0000
commit85b2fb1e32d499520e5c33f2357d58d35bcb0b60 (patch)
tree999d16622aef38fcb2b90630a818061dc1671193
parentosc: extend damage-cells-by-color to default fg/bg as well (diff)
doc: foot.ini: line-height: add warning about runtime font size changes
-rw-r--r--doc/foot.ini.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 58ea9c15..f3c0aea6 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -121,6 +121,12 @@ empty string to be set, but it must be quoted: *KEY=""*)
You can specify a height in _pixels_ by using the *px* suffix:
e.g. *line-height=12px*.
+ *Warning*: when changing the font size at runtime (i.e. zooming in
+ our out), foot will change the line height by the same
+ percentage. However, due to rounding, it is possible the line
+ height will be "too small" for some font sizes, causing
+ e.g. underscores to "disappear".
+
See also: *vertical-letter-offset*.
Default: _not set_.