diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-27 11:28:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-27 11:28:39 +0000 |
| commit | 65012609b8379cdbdab4ea39c66955476ed6722e (patch) | |
| tree | 0d610bf1d8288d990b6dfc3bb035843ab3df7ee2 | |
| parent | Merge branch 'buffer-size-multiple-of-scale-factor' (diff) | |
readme: dpi & fonts: focus on *current* behavior
The text was describing the original behavior, where output scaling
was completely ignored, and tacked on a “btw, starting with
foot-1.6...”.
Now, simply describe the current behavior, and be more clear about
_how_ dpi-aware can be changed.
| -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. |
