doc: foot.ini: mention how dpi-aware interacts with bitmap fonts

This commit is contained in:
Daniel Eklöf 2021-09-22 22:00:28 +02:00
parent 705b5d786c
commit 14e77fec32
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -145,11 +145,12 @@ in this order:
Default: _no_. Default: _no_.
*dpi-aware* *dpi-aware*
*auto*, *yes*, or *no*. When set to *yes*, fonts are sized using *auto*, *yes*, or *no*.
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 When set to *yes*, fonts are sized using the monitor's DPI, making
a foot window between different monitors, the font size remains a font of a given size have the same physical size, regardless of
the same. 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 scaling factor is ignored; doubling In this mode, the monitor's scaling factor is ignored; doubling
the scaling factor will *not* double the font size. the scaling factor will *not* double the font size.
@ -162,6 +163,11 @@ in this order:
DPI on monitors with a scaling factor of 1, but otherwise using DPI on monitors with a scaling factor of 1, but otherwise using
the scaling factor. the scaling factor.
Note that this option typically does not work with bitmap fonts,
which only contains a pre-defined set of sizes, and cannot be
dynamically scaled. Whichever size (of the available ones) that
best matches the DPI or scaling factor, will be used.
Default: _auto_ Default: _auto_
*pad* *pad*