GNOME Bugzilla – Bug 489774
failure to get poppler_page_render* function produces blank PS files
Last modified: 2007-10-24 14:27:10 UTC
Please describe the problem: Printing a PDF document (or using preview) results in a PS file being generated with the correct number of pages, but nothing on each page. Steps to reproduce: Select Print..., click on Print Preview. Actual results: You see the correct number of pages but they are blank in the print preview. Expected results: Should be able to see the rendered document. Does this happen every time? Yes Other information: This only happens if, for any reason, during the configure of evince, it fails to locate either of the symbols in the poppler library: poppler_page_render poppler_page_render_for_printing Later in the PDF backend code you have : #ifdef HAVE_POPPLER_PAGE_RENDER_FOR_PRINTING poppler_page_render_for_printing (poppler_page, ctx->cr); #else #ifdef HAVE_POPPLER_PAGE_RENDER poppler_page_render (poppler_page, ctx->cr); #endif #endif In this case described, you end up doing nothing here - and as such everything looks fine until later you try to print, but nothing comes out. Ideally this should fail at compile time - either in the configure script or later by using a #error like: #ifdef HAVE_POPPLER_PAGE_RENDER_FOR_PRINTING poppler_page_render_for_printing (poppler_page, ctx->cr); #else #ifdef HAVE_POPPLER_PAGE_RENDER poppler_page_render (poppler_page, ctx->cr); #else #error "Must have either poppler_page_render_for_printing or poppler_page_render" #endif #endif The configure script would seem to be the best place to do this since it's where you need to look to fix the issue.
Fixed in svn trunk and gnome-2.20 branch. Thank you very much for reporting.