st
simple terminal
git clone https://9o.is/git/st.git
commit 79468064fc7e0f6c5a18eb22af6a28b8d773dd95 parent 368727c74c314fe00878b3052711ce9f662c9bd8 Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 10 Mar 2013 21:16:51 +0100 Pange seems to use ascent + descent instead of height. Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this! Diffstat:
| M | st.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c @@ -2493,7 +2493,7 @@ xloadfont(Font *f, FcPattern *pattern) { f->lbearing = 0; f->rbearing = f->match->max_advance_width; - f->height = f->match->height; + f->height = f->ascent + f->descent; f->width = f->lbearing + f->rbearing; return 0;