diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-12-15 10:10:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-12-17 09:59:17 +0000 |
| commit | f6ca8c90e11d9b1ecdfe8a5bf69b1b793376a91c (patch) | |
| tree | c8a6e83c143f6d973b9cdc4c3498901089ba263b /doc | |
| parent | main: Graceful fallback if user has configured an invalid locale (diff) | |
config: add ‘font-size-adjustment=N[px|%]’ option
This patch adds a new config option, font-size-adjustment.
It lets you configure how much the font size should be
incremented/decremented when zooming in or out (ctrl-+, ctrl+-).
Values can be specified in points, pixels or percent.
Closes #1188
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index e18a6208..6443d2ba 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -80,6 +80,19 @@ empty string to be set, but it must be quoted: *KEY=""*) Default: _monospace:size=8_ (*font*), _not set_ (*font-bold*, *font-italic*, *font-bold-italic*). +*font-size-adjustment* + Amount, in _points_, _pixels_ or _percent_, to increment/decrement + the font size when zooming in our out. + + Examples: + ``` + font-size-adjustment=0.5 # Adjust by 0.5 points + font-size-adjustment=10xp # Adjust by 10 pixels + font-size-adjustment=7.5% # Adjust by 7.5 percent + ``` + + Default: _0.5_ + *include* Absolute path to configuration file to import. |
