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-26 05:45:03 +0000 |
| commit | b08db1ef973bdb20d00e606b6dbb1aa5955eda66 (patch) | |
| tree | 93c4e1ab21ad565c8dca282074b22c9e31c927a2 /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; |
