From 85b2fb1e32d499520e5c33f2357d58d35bcb0b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 7 Jul 2024 16:31:40 +0200 Subject: [PATCH] doc: foot.ini: line-height: add warning about runtime font size changes --- doc/foot.ini.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) 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_.