mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
render: apply new baseline calculation everywhere
* URL jump labels * Scrollback position indicator * Line/box drawings characters Closes #1430
This commit is contained in:
parent
0a61cfc3be
commit
a36f67cbe3
5 changed files with 29 additions and 22 deletions
|
|
@ -3011,7 +3011,7 @@ box_drawing(const struct terminal *term, char32_t wc)
|
|||
.cols = 1,
|
||||
.pix = buf.pix,
|
||||
.x = -term->font_x_ofs,
|
||||
.y = term->font_y_ofs + term->fonts[0]->ascent,
|
||||
.y = term_font_baseline(term),
|
||||
.width = width,
|
||||
.height = height,
|
||||
.advance = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue