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.
This commit is contained in:
Daniel Eklöf 2020-07-26 07:45:03 +02:00
parent e955a14dd0
commit b08db1ef97
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 12 additions and 12 deletions

View file

@ -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;