render: apply new baseline calculation everywhere

* URL jump labels
* Scrollback position indicator
* Line/box drawings characters

Closes #1430
This commit is contained in:
Daniel Eklöf 2023-07-23 17:35:57 +02:00
parent 0a61cfc3be
commit a36f67cbe3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 29 additions and 22 deletions

View file

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