doc: foot.ini: line-height: add warning about runtime font size changes

This commit is contained in:
Daniel Eklöf 2024-07-07 16:31:40 +02:00
parent 22c8637610
commit 85b2fb1e32
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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_.