git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed logging and tag id handling
[swftools.git]
/
lib
/
modules
/
swftext.c
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
90e44cb
..
8d61e04
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-1201,11
+1201,12
@@
void swf_DrawText(drawer_t*draw, SWFFONT*font, char*text)
while(*s) {
SHAPE*shape;
SHAPE2*shape2;
while(*s) {
SHAPE*shape;
SHAPE2*shape2;
+ SHAPELINE*l;
U32 c = readUTF8char(&s);
int g = font->ascii2glyph[c];
shape = font->glyph[g].shape;
shape2 = swf_ShapeToShape2(shape);
U32 c = readUTF8char(&s);
int g = font->ascii2glyph[c];
shape = font->glyph[g].shape;
shape2 = swf_ShapeToShape2(shape);
- SHAPELINE*l = shape2->lines;
+ l = shape2->lines;
while(l) {
if(l->type == moveTo) {
FPOINT to;
while(l) {
if(l->type == moveTo) {
FPOINT to;