mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-20 01:40:14 -05:00
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.
This commit is contained in:
parent
bb948d03e1
commit
8ffc556d44
4 changed files with 72 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue