Browse Source

Pange seems to use ascent + descent instead of height.

Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
master
Christoph Lohmann 11 years ago
parent
commit
55adf0aad1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      st.c

+ 1
- 1
st.c View File

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


Loading…
Cancel
Save