Commit ddbbd697 authored by Kristian Høgsberg's avatar Kristian Høgsberg

2006-09-21 Kristian Høgsberg <krh@redhat.com>

	* utils/pdftops.cc: Get duplex setting from GlobalParams.
parent 0d25592a
2006-09-21 Kristian Høgsberg <krh@redhat.com>
* utils/pdftops.cc: Get duplex setting from GlobalParams.
* glib/poppler-page.cc (_poppler_page_new): Make PopplerPage
reference its document throughout the lifetime of the page (#7005).
......
......@@ -309,7 +309,8 @@ int main(int argc, char *argv[]) {
psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
doc->getCatalog(), firstPage, lastPage, mode,
globalParams->getPSPaperWidth(),
globalParams->getPSPaperHeight());
globalParams->getPSPaperHeight(),
globalParams->getPSDuplex());
if (psOut->isOk()) {
doc->displayPages(psOut, firstPage, lastPage, 72, 72,
0, globalParams->getPSCrop(), gFalse, gFalse);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment