}
pi->doc->displayPage((OutputDev*)pi->outputDev, page->nr, zoom*multiply, zoom*multiply, /*rotate*/0, true, true, /*doLinks*/(int)1);
pi->doc->processLinks((OutputDev*)pi->outputDev, page->nr);
+ pi->outputDev->finishPage();
+
pi->outputDev->setDevice(0);
if(pi->middev) {
gfxdevice_rescale_setdevice(pi->middev, 0x00000000);
multiply = atoi(value);
} else if(!strcmp(name, "help")) {
printf("\nPDF device global parameters:\n");
- printf("fontdir=<dir> a directory with additional fonts\n");
- printf("font=<filename> an additional font filename\n");
- printf("pages=<range> the range of pages to convert (example: pages=1-100,210-)\n");
- printf("zoom=<dpi> the resultion (default: 72)\n");
+ printf("fontdir=<dir> a directory with additional fonts\n");
+ printf("font=<filename> an additional font filename\n");
+ printf("pages=<range> the range of pages to convert (example: pages=1-100,210-)\n");
+ printf("zoom=<dpi> the resultion (default: 72)\n");
+ printf("languagedir=<dir> Add an xpdf language directory\n");
+ printf("multiply=<times> Render everything at <times> the resolution\n");
+ printf("poly2bitmap Convert graphics to bitmaps\n");
+ printf("bitmap Convert everything to bitmaps\n");
}
storeDeviceParameter(name,value);
}