changed an error to a warning
[swftools.git] / lib / pdf / BitmapOutputDev.cc
index bfafe9d..282b7d7 100644 (file)
@@ -1448,7 +1448,7 @@ void BitmapOutputDev::drawChar(GfxState *state, double x, double y,
 
         if(!path) {
             if(code)
-                msg("<error> couldn't create outline for char %d", code);
+                msg("<warning> couldn't create outline for char %d", code);
             return;
         }
         x-=originX;
@@ -1465,6 +1465,7 @@ void BitmapOutputDev::drawChar(GfxState *state, double x, double y,
            if(xx>=x2) x2=(int)xx+1;
            if(yy>=y2) y2=(int)yy+1;
        }
+       delete(path);path=0;
 
        /* if this character is affected somehow by the various clippings (i.e., it looks
           different on a device without clipping), then draw it on the bitmap, not as