removed cropping again. It's now done in ../swfoutput.cc.
authorkramm <kramm>
Sun, 18 Jul 2004 12:26:02 +0000 (12:26 +0000)
committerkramm <kramm>
Sun, 18 Jul 2004 12:26:02 +0000 (12:26 +0000)
pdf2swf/xpdf/Gfx.cc

index ba5981b..81d164e 100644 (file)
@@ -405,7 +405,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, int pageNum, Dict *resDict, double dpi,
   }
 
   // set crop box
-  if (crop) {
+  /*if (crop) {
     state->moveTo(cropBox->x1, cropBox->y1);
     state->lineTo(cropBox->x2, cropBox->y1);
     state->lineTo(cropBox->x2, cropBox->y2);
@@ -414,7 +414,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, int pageNum, Dict *resDict, double dpi,
     state->clip();
     out->clip(state);
     state->clearPath();
-  }
+  }*/
 }
 
 Gfx::Gfx(XRef *xrefA, OutputDev *outA, Dict *resDict,