This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
st
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Pange seems to use ascent + descent instead of height.
Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
master
Christoph Lohmann
12 years ago
parent
82494f248d
commit
55adf0aad1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
-
>
heigh
t
;
f
-
>
height
=
f
-
>
ascent
+
f
-
>
descen
t
;
f
-
>
width
=
f
-
>
lbearing
+
f
-
>
rbearing
;
return
0
;
Write
Preview
Loading…
Cancel
Save