git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made patch non-verbose
[swftools.git]
/
lib
/
modules
/
swftext.c
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
d9e4115
..
d7c0470
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-684,7
+684,7
@@
int swf_FontReduce_swfc(SWFFONT * f)
}
f->use->used_glyphs = j;
for (i = 0; i < f->maxascii; i++) {
}
f->use->used_glyphs = j;
for (i = 0; i < f->maxascii; i++) {
- if(f->ascii2glyph[i] > -1)
+ if(f->ascii2glyph[i] > -1) {
if (f->use->chars[f->ascii2glyph[i]]<0) {
f->use->chars[f->ascii2glyph[i]] = 0;
f->ascii2glyph[i] = -1;
if (f->use->chars[f->ascii2glyph[i]]<0) {
f->use->chars[f->ascii2glyph[i]] = 0;
f->ascii2glyph[i] = -1;
@@
-694,6
+694,7
@@
int swf_FontReduce_swfc(SWFFONT * f)
max_unicode = i + 1;
}
}
max_unicode = i + 1;
}
}
+ }
f->maxascii = max_unicode;
f->use->is_reduced = 1;
f->numchars = j;
f->maxascii = max_unicode;
f->use->is_reduced = 1;
f->numchars = j;