aboutsummaryrefslogtreecommitdiff
path: root/tokenize.c
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-29 04:58:16 +0000
commit9601ed7cfb120e993cb3fd5db7d47bb3a7c49bec (patch)
tree22e6552cddb0aa1e3c2ac40acf5192fe26a01545 /tokenize.c
parentinput: margins are not selectable (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 'tokenize.c')
0 files changed, 0 insertions, 0 deletions