aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-09-19 09:58:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-24 20:07:47 +0000
commitfb77637eb96a71de48b49e40fbe7dd71ec85bcbf (patch)
treecbc4d68c8517e73a35f1b4567d8af49b9998586c /render.c
parentdoc: foot.ini: remove stray double quote character (diff)
term: only scale using DPI if *all* monitors have a scaling factor or one
With dpi-aware=auto (the default), scale fonts using DPI *only* if *all* available monitors have a scaling factor of one. The idea is this: if a user, with multiple monitors, have enabled scaling on *at least* one monitor, he/she has most likely done so to match the size of his/hers other monitors. For example, if the user has one monitor with a scaling factor of one, and another one with a scaling factor of two, he/she expects things to be twice as large on the second monitor. If we (foot) scale using DPI on the first monitor, and using the scaling factor on the second monitor, foot will *not* look twice as big on the second monitor (this was the old behavior of dpi-aware=auto). Part of #714
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions