From: kramm Date: Sun, 18 Jul 2004 12:26:02 +0000 (+0000) Subject: removed cropping again. It's now done in ../swfoutput.cc. X-Git-Tag: release-0-6-0~65 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=78891f9b83a89d0e54bac5738715b09c8b613a81 removed cropping again. It's now done in ../swfoutput.cc. --- diff --git a/pdf2swf/xpdf/Gfx.cc b/pdf2swf/xpdf/Gfx.cc index ba5981b..81d164e 100644 --- a/pdf2swf/xpdf/Gfx.cc +++ b/pdf2swf/xpdf/Gfx.cc @@ -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,