Commit Diff


commit - 82494f248d778e1195a9eabfac916ce08c52b6da
commit + 55adf0aad1d5acf0b9a00e2a9f834cef8b61b3b3
blob - fc9ed70d435c03434e5a1fb64898a667d5b4caeb
blob + 0923cec886d30e4e6de4c3826a94f799a01e7e42
--- st.c
+++ 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;