added focal gradient support
[swftools.git] / lib / modules / swftext.c
index 47ba5b9..1612e63 100644 (file)
@@ -463,7 +463,7 @@ swf_FontExtract_DefineTextCallback(int id, SWFFONT * f, TAG * t, int jobs,
                if (id == fid) {
                    if (jobs & FEDTJ_PRINT) {
                        int code = f->glyph2ascii[glyph];
-                       printf("%c", code);
+                       printf("%lc", code);
                    }
                    if (jobs & FEDTJ_MODIFY)
                        f->glyph[glyph].advance = adv * 20;     //?
@@ -1565,8 +1565,6 @@ SRECT swf_SetDefineText(TAG * tag, SWFFONT * font, RGBA * rgb, char *text, int s
        swf_TextSetCharRecordUTF8(tag, font, upos, scale * 20, gbits, abits);
 
        upos= next;
-
-       printf("%s\n", upos);
     }
     free(utext);