diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 05:41:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 05:41:57 +0000 |
| commit | e955a14dd0bf7ed23a9e42f28a93e3357643300c (patch) | |
| tree | 2a98b12ced0ecbdde992145870c37c20595b606e /selection.c | |
| parent | doc: benchmark: update 'laptop' results after foot-1.4.0 (diff) | |
wayland: calculate a single, scaled DPI value
Previously, we calculated the monitors horizontal and vertical PPI
values.
For font sizing, we used the vertical PPI value. It seems however,
that using the diagonal PPI value, i.e. diagonal_px / diagonal_inch,
gives more consistent results.
This is still a PPI value, but since it is intended to be used as a
FontConfig DPI value, name it 'dpi'.
Diffstat (limited to 'selection.c')
0 files changed, 0 insertions, 0 deletions
