aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-26 05:41:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-26 05:41:57 +0000
commite955a14dd0bf7ed23a9e42f28a93e3357643300c (patch)
tree2a98b12ced0ecbdde992145870c37c20595b606e /scripts
parentdoc: 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 'scripts')
0 files changed, 0 insertions, 0 deletions