mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: apply scale factor when converting a px value to pt
This commit is contained in:
parent
e85257bcae
commit
fa6b07abea
1 changed files with 1 additions and 1 deletions
|
|
@ -946,7 +946,7 @@ term_pt_or_px_as_pixels(const struct terminal *term,
|
|||
|
||||
return pt_or_px->px == 0
|
||||
? round(pt_or_px->pt * scale * dpi / 72)
|
||||
: pt_or_px->px;
|
||||
: pt_or_px->px * scale;
|
||||
}
|
||||
|
||||
struct font_load_data {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue