mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
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:
parent
e955a14dd0
commit
b08db1ef97
2 changed files with 12 additions and 12 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue