projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4f5881
)
(ft_open): Fix setting of rfont->descent.
author
handa
<handa>
Thu, 3 Jun 2004 12:07:49 +0000
(12:07 +0000)
committer
handa
<handa>
Thu, 3 Jun 2004 12:07:49 +0000
(12:07 +0000)
src/font-ft.c
patch
|
blob
|
history
diff --git
a/src/font-ft.c
b/src/font-ft.c
index
1644662
..
6c4acca
100644
(file)
--- a/
src/font-ft.c
+++ b/
src/font-ft.c
@@
-502,7
+502,7
@@
ft_open (MRealizedFont *rfont)
MDEBUG_PRINT1 (" [FT-FONT] o %s\n", ft_info->filename);
rfont->status = 1;
rfont->ascent = ft_info->ft_face->ascender >> 6;
- rfont->descent = ft_info->ft_face->descender >> 6;
+ rfont->descent = - (ft_info->ft_face->descender >> 6);
return 0;
err: