diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-11-24 16:20:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-11-24 16:20:05 +0000 |
| commit | fa6b07abeacfb5b8a70bc762e9c8ff64470c4d2c (patch) | |
| tree | 2f4767d1298cd372150017a197b16e8adb86288c | |
| parent | term: initialize term->font_line_height when there’s no user-set line-height (diff) | |
term: apply scale factor when converting a px value to pt
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 1 insertions, 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 { |
