git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CIDFonts: look for external replacement.
[swftools.git]
/
lib
/
example
/
makefonts.cc
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->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);
TAG*tag = swf_InsertTag(0,ST_DEFINESHAPE);