diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-28 12:24:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-28 12:24:38 +0000 |
| commit | 0d0ebebb64980be47c948a1c712925c100bb4ebd (patch) | |
| tree | 3812d1a380f74d30747402ce54efd1f1a694cf87 /README.md | |
| parent | changelog: 1.7.0 (diff) | |
| parent | Merge branch 'search-treat-empty-cells-as-spaces' (diff) | |
Merge branch 'master' into releases/1.7
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 27 |
1 files changed, 14 insertions, 13 deletions
@@ -345,21 +345,22 @@ This is not how it is meant to be. Fonts are measured in _point sizes_ **for a reason**; a given point size should have the same height on all mediums, be it printers or monitors, regardless of their DPI. -Foot will always use the monitor's physical DPI value. Scale factors -are irrelevant (well, they affect e.g. padding, but not the font -size). This means the glyphs rendered by foot should always have the -same physical height, regardless of monitor. +Foot’s default behavior is to use the monitor’s DPI to size fonts when +output scaling has been disabled. On monitors where output scaling has +been enabled, fonts will instead be sized using the scaling +factor. -Foot will re-size the fonts on-the-fly when the window is moved -between screens with different DPIs values. If the window covers -multiple screens, with different DPIs, the highest DPI will be used. +This can be changed to either **always** use the monitor’s DPI +(regardless of scaling factor), or to **never** use it. See the +`dpi-aware` option in `foot.ini`. See the man page, **foot.ini**(5) +for more information. -Starting with foot-1.6, the _default_ behavior is to use the monitor’s -DPI to size fonts when output scaling has been disabled. On monitors -where output scaling has been enabled, fonts will instead be sized -using the scaling factor. This can be changed with the `dpi-aware` -option in `foot.ini`. See the man page, **foot.ini**(5) for more -information. +When fonts are sized using the monitor’s DPI, glyphs should always +have the same physical height, regardless of monitor. + +Furthermore, foot will re-size the fonts on-the-fly when the window is +moved between screens with different DPIs values. If the window covers +multiple screens, with different DPIs, the highest DPI will be used. _Note_: if you configure **pixelsize**, rather than **size**, then DPI changes will **not** change the font size. Pixels are always pixels. |
