utils/pdftops.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 7e14516a78b16453c747eb92b08665632e5f6844 Author: Sanjoy Mahajan <[email protected]> Date: Mon Jul 27 23:20:50 2009 +0200 Fix displayPages call Parameters are outputdev, first, last, dpi, dpi, rotate, usemediabox, crop, printing and we were doing usemediabox = !noCrop crop = gFasle the correct is usemediabox = noCrop crop = !noCrop diff --git a/utils/pdftops.cc b/utils/pdftops.cc index 747063e..4670d22 100644 --- a/utils/pdftops.cc +++ b/utils/pdftops.cc @@ -18,6 +18,7 @@ // Copyright (C) 2006 Kristian Høgsberg <[email protected]> // Copyright (C) 2007-2008 Albert Astals Cid <[email protected]> // Copyright (C) 2009 Till Kamppeter <[email protected]> +// Copyright (C) 2009 Sanjoy Mahajan <[email protected]> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -348,7 +349,7 @@ int main(int argc, char *argv[]) { duplex); if (psOut->isOk()) { doc->displayPages(psOut, firstPage, lastPage, 72, 72, - 0, !noCrop, gFalse, gTrue); + 0, noCrop, !noCrop, gTrue); } else { delete psOut; exitCode = 2;
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
