aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-18 13:42:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-18 13:42:48 +0000
commit5c59e38cf467693d24402751a6460ad6d1f718d9 (patch)
treed99095e52a5e0f1fe2ebe794761ff76c4006f26a /doc
parentMerge branch 'statusline-terminfo-caps' (diff)
parentreadme: describe the new font sizing behavior (diff)
Merge branch 'dpi-aware-when-scaling-factor-is-one'
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd27
1 files changed, 16 insertions, 11 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 8397b118..c03342cf 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -44,19 +44,24 @@ in this order:
*font-italic*, *font-bold-italic*).
*dpi-aware*
- Boolean. When enabled, fonts are sized using the monitor's DPI,
- making a font of a given size have the same physical size,
- regardless of monitor. In other words, if you drag a foot window
- between different monitors, the font size remains the same.
+ *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
+ physical size, regardless of monitor. In other words, if you drag
+ a foot window between different monitors, the font size remains
+ the same.
- In this mode, the monitor's scale factor is ignored; doubling the
- scale factor will *not* double the font size.
+ In this mode, the monitor's scaling factor is ignored; doubling
+ the scaling factor will *not* double the font size.
- When disabled, the monitor's DPI is ignored. The font is instead
- sized using the monitor's scale factor; doubling the scale factor
- *does* double the font size.
-
- Default: _yes_
+ When set to *no*, the monitor's DPI is ignored. The font is
+ instead sized using the monitor's scaling factor; doubling the
+ scaling factor *does* double the font size.
+
+ Finally, if set to *auto*, fonts will be sized using the monitor's
+ DPI on monitors with a scaling factor of 1, but otherwise size
+ fonts using the scaling factor.
+
+ Default: _auto_
*pad*
Padding between border and glyphs, in pixels (subject to output