fixed a few bugs in remove_font_transforms filter
[swftools.git] / lib / devices / swf.c
index af5d284..b090c7b 100644 (file)
@@ -956,6 +956,7 @@ static void endpage(gfxdevice_t*dev)
     swfoutput_internal*i = (swfoutput_internal*)dev->internal;
     if(i->pagefinished)
        return;
+    
     if(i->shapeid>=0)
        endshape(dev);
     if(i->textmode)
@@ -2121,6 +2122,8 @@ int swf_setparameter(gfxdevice_t*dev, const char*name, const char*value)
        i->config_dumpfonts = atoi(value);
     } else if(!strcmp(name, "animate")) {
        i->config_animate = atoi(value);
+    } else if(!strcmp(name, "linknameurl")) {
+       i->config_linknameurl = atoi(value);
     } else if(!strcmp(name, "showimages")) {
        i->config_showimages = atoi(value);
     } else if(!strcmp(name, "disablelinks")) {