git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d5326
)
fixed linegap value
author
Matthias Kramm
<kramm@quiss.org>
Thu, 11 Mar 2010 21:08:20 +0000
(13:08 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Thu, 11 Mar 2010 21:08:20 +0000
(13:08 -0800)
lib/gfxfont.c
patch
|
blob
|
history
diff --git
a/lib/gfxfont.c
b/lib/gfxfont.c
index
c0cbac2
..
e99816c
100644
(file)
--- a/
lib/gfxfont.c
+++ b/
lib/gfxfont.c
@@
-698,7
+698,7
@@
ttf_t* gfxfont_to_ttf(gfxfont_t*font)
ttf->ascent = font->ascent;
ttf->descent = font->descent;
- ttf->lineGap = font->ascent - font->descent;
+ ttf->lineGap = 0;
ttf->full_name = strdup(font->id);
ttf->family_name = strdup(font->id);