diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-26 05:45:03 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-29 04:58:20 +0000 |
| commit | 423bfd388a96e0e04061363773f3059c82d67d0a (patch) | |
| tree | bcffe35bbd5b3fe1ee8394155696eb7eaa18f508 /terminal.h | |
| parent | wayland: calculate a single, scaled DPI value (diff) | |
term: store current font DPI as a float instead of an integer
FontConfig's DPI is a double, and using a float instead of an integer
results in higher resolution.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -223,7 +223,7 @@ struct terminal { struct fcft_font *fonts[4]; struct config_font *font_sizes; - int font_dpi; + float font_dpi; enum fcft_subpixel font_subpixel; tll(struct ptmx_buffer) ptmx_buffer; |
