[poppler] poppler/poppler: Page.cc,1.7,1.8
Albert Astals Cid
aacid at freedesktop.org
Mon Dec 12 12:21:10 PST 2005
- Previous message: [poppler] poppler/utils: HtmlFonts.cc, NONE, 1.1 HtmlFonts.h, NONE,
1.1 HtmlLinks.cc, NONE, 1.1 HtmlLinks.h, NONE,
1.1 HtmlOutputDev.cc, NONE, 1.1 HtmlOutputDev.h, NONE,
1.1 ImageOutputDev.cc, NONE, 1.1 ImageOutputDev.h, NONE,
1.1 Makefile.am, NONE, 1.1 parseargs.c, NONE, 1.1 parseargs.h,
NONE, 1.1 pdffonts.1, NONE, 1.1 pdffonts.cc, NONE,
1.1 pdfimages.1, NONE, 1.1 pdfimages.cc, NONE, 1.1 pdfinfo.1,
NONE, 1.1 pdfinfo.cc, NONE, 1.1 pdftohtml.1, NONE,
1.1 pdftohtml.cc, NONE, 1.1 pdftoppm.1, NONE, 1.1 pdftoppm.cc,
NONE, 1.1 pdftops.1, NONE, 1.1 pdftops.cc, NONE,
1.1 pdftotext.1, NONE, 1.1 pdftotext.cc, NONE, 1.1
- Next message: [poppler] poppler: ChangeLog,1.260,1.261
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv22833/poppler
Modified Files:
Page.cc
Log Message:
* poppler/Page.cc: Ignore cropBox if it seems incorrect
Index: Page.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Page.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Page.cc 30 Oct 2005 20:29:05 -0000 1.7
+++ Page.cc 12 Dec 2005 20:21:08 -0000 1.8
@@ -67,6 +67,13 @@
if (!haveCropBox) {
cropBox = mediaBox;
}
+ else
+ {
+ // cropBox can not be bigger than mediaBox
+ if (cropBox.x2 - cropBox.x1 > mediaBox.x2 - mediaBox.x1 ||
+ cropBox.y2 - cropBox.y1 > mediaBox.y2 - mediaBox.y1)
+ cropBox = mediaBox;
+ }
// other boxes
bleedBox = cropBox;
- Previous message: [poppler] poppler/utils: HtmlFonts.cc, NONE, 1.1 HtmlFonts.h, NONE,
1.1 HtmlLinks.cc, NONE, 1.1 HtmlLinks.h, NONE,
1.1 HtmlOutputDev.cc, NONE, 1.1 HtmlOutputDev.h, NONE,
1.1 ImageOutputDev.cc, NONE, 1.1 ImageOutputDev.h, NONE,
1.1 Makefile.am, NONE, 1.1 parseargs.c, NONE, 1.1 parseargs.h,
NONE, 1.1 pdffonts.1, NONE, 1.1 pdffonts.cc, NONE,
1.1 pdfimages.1, NONE, 1.1 pdfimages.cc, NONE, 1.1 pdfinfo.1,
NONE, 1.1 pdfinfo.cc, NONE, 1.1 pdftohtml.1, NONE,
1.1 pdftohtml.cc, NONE, 1.1 pdftoppm.1, NONE, 1.1 pdftoppm.cc,
NONE, 1.1 pdftops.1, NONE, 1.1 pdftops.cc, NONE,
1.1 pdftotext.1, NONE, 1.1 pdftotext.cc, NONE, 1.1
- Next message: [poppler] poppler: ChangeLog,1.260,1.261
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the poppler
mailing list