diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-31 17:42:22 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-31 17:58:35 +0000 |
| commit | 8ffc556d441013e06236f144020b91ea4e3a3f86 (patch) | |
| tree | 5c5328e0dc45c8e052a4df58dae002cb1679f54a /doc | |
| parent | terminal: prefer the advance width of ‘M’ over that of a space (diff) | |
main: verify primary font is monospaced at startup
Load a couple of ASCII glyphs and check if their advance widths
matches. If not, warn the user that the font is probably not
monospaced.
This can be disabled by setting tweak.font-monospace-warn=no.
Closes #704.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 65a3a4dc..a124316e 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -1022,6 +1022,17 @@ any of these options. Default: _double-width_ +*font-monospace-warn* + Boolean. When enabled, foot will use heuristics to try to verify + the primary font is a monospace font, and warn if it is not. + + Disable this if you still want to use the font, even if foot + thinks it is not monospaced. + + You may also want to disable it to get slightly faster startup times. + + Default: _yes_ + *max-shm-pool-size-mb* This option controls the amount of virtual address space used by the pixmap memory to which the terminal screen content is |
