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:
64a243a
)
fix advance values.
author
kramm
<kramm>
Fri, 14 Jun 2002 09:13:07 +0000
(09:13 +0000)
committer
kramm
<kramm>
Fri, 14 Jun 2002 09:13:07 +0000
(09:13 +0000)
lib/example/makefonts.cc
patch
|
blob
|
history
diff --git
a/lib/example/makefonts.cc
b/lib/example/makefonts.cc
index
a36dd8a
..
0ab3110
100644
(file)
--- a/
lib/example/makefonts.cc
+++ b/
lib/example/makefonts.cc
@@
-130,7
+130,7
@@
SWFFONT * t1font2swffont(int i)
wfont->glyph2ascii[num] = s;
swf_ShapeNew(&wfont->glyph[num].shape);
SHAPE*shape = wfont->glyph[num].shape;
- wfont->glyph[num].advance = width/2;
+ wfont->glyph[num].advance = (int)(width/6.4); // 128/20
TAG*tag = swf_InsertTag(0,ST_DEFINESHAPE);