aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-23 15:35:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-25 13:53:29 +0000
commita36f67cbe311bebd9321fbf58773dace8128fcd7 (patch)
tree93ff896180bdf5c21cbe40445830f1d0fa124bbc /terminal.h
parentwayland: update terminals (fonts etc) on xdg_output_handle_done() (diff)
render: apply new baseline calculation everywhere
* URL jump labels * Scrollback position indicator * Line/box drawings characters Closes #1430
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 4b1d1d0d..00cfcf31 100644
--- a/terminal.h
+++ b/terminal.h
@@ -742,6 +742,7 @@ bool term_font_size_decrease(struct terminal *term);
bool term_font_size_reset(struct terminal *term);
bool term_font_dpi_changed(struct terminal *term, float old_scale);
void term_font_subpixel_changed(struct terminal *term);
+int term_font_baseline(const struct terminal *term);
int term_pt_or_px_as_pixels(
const struct terminal *term, const struct pt_or_px *pt_or_px);