aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-17 11:05:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-17 11:05:22 +0000
commit0a821f2ed44f46086650a20a39c28f077d954aa2 (patch)
treebb215a687f17dbb22e2683076b458b758e890428 /scripts/benchmark.py
parentvt: codespell: ony -> only (diff)
fonts: size fonts using the scaling factor when output scaling is enabled
This extends the new ‘dpi-aware’ option with a new default value, ‘auto’. When set to ‘auto’, fonts are sized using monitors’ DPI when output scaling is disabled. When output scaling is enabled, fonts are instead sized using the scaling factor. The reasoning here is that a user that has enabled output scaling is obviously *not* relying on DPI scaling. Output scaling can also be a way to compensate for different viewing distances, in which case we do *not* want to break that by using DPI scaling. Users can still force DPI-only font sizing by setting ‘dpi-aware=yes’, or disable it completely by setting ‘dpi-aware=no’.
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions