X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpdf%2FBitmapOutputDev.cc;h=1abd91f6589b80880ddea23fa4d253f605125e9e;hp=bfafe9d41f6be6744c1975723a513bfbb99db517;hb=c34a9e0500bc5141864683ff548b8979f611747b;hpb=2c719855eac434f01d47ba0717d76de65939d74e diff --git a/lib/pdf/BitmapOutputDev.cc b/lib/pdf/BitmapOutputDev.cc index bfafe9d..1abd91f 100644 --- a/lib/pdf/BitmapOutputDev.cc +++ b/lib/pdf/BitmapOutputDev.cc @@ -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