diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-11 15:10:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-11 15:10:55 +0000 |
| commit | acecab1c8bcb414521867fce46d238ad48f4b621 (patch) | |
| tree | 3ed53ba3ec7565c1538bc518b27ae287cf64f3c6 /input.c | |
| parent | config: add str_to_bool() (diff) | |
term: use logical DPI+scale factor when scaling fonts
This fixes an issue where the fonts were rendered too small when the
output had fractional scaling.
For integral scaling, using the logical (scaled) DPI multiplied with
the scaling factor results in the same final DPI value as if we had
used the physical DPI.
But for fractional scaling, this works around the fact that the
compositor downscales the surface after we've rendered it.
Closes #5
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
