diff options
| author | Christoph Lohmann <20h@r-36.net> | 2013-03-10 21:16:51 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2013-03-10 21:16:51 +0100 |
| commit | 55adf0aad1d5acf0b9a00e2a9f834cef8b61b3b3 (patch) | |
| tree | 8c4e1edf75a22a3d3cc715631fafe959e1f5481d | |
| parent | 82494f248d778e1195a9eabfac916ce08c52b6da (diff) | |
| download | st-55adf0aad1d5acf0b9a00e2a9f834cef8b61b3b3.tar.gz st-55adf0aad1d5acf0b9a00e2a9f834cef8b61b3b3.tar.bz2 | |
Pange seems to use ascent + descent instead of height.
Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
