git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f7e876
)
enabled cropbox again, so the PDF will look right even if the SWFs
author
kramm
<kramm>
Sun, 18 Jul 2004 12:25:50 +0000
(12:25 +0000)
committer
kramm
<kramm>
Sun, 18 Jul 2004 12:25:50 +0000
(12:25 +0000)
bounding box is modified.
pdf2swf/xpdf/Gfx.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/xpdf/Gfx.cc
b/pdf2swf/xpdf/Gfx.cc
index
81d164e
..
ba5981b
100644
(file)
--- 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,