2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_do_page):
Use poppler_page_render_for_printing() instead of
poppler_page_render() if available when exporting to a ps or pdf
file. Fixes bug #476627.
svn path=/trunk/; revision=2691
+2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * configure.ac:
+ * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_do_page):
+
+ Use poppler_page_render_for_printing() instead of
+ poppler_page_render() if available when exporting to a ps or pdf
+ file. Fixes bug #476627.
+
2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_run_fullscreen):
x * (rotate ? pheight : pwidth),
y * (rotate ? pwidth : pheight));
cairo_scale (ctx->cr, xscale, yscale);
-
+
+#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
+
ctx->pages_printed++;
if (ctx->pages_printed % ctx->pages_per_sheet == 0) {
evince_save_LIBS=$LIBS
LIBS="$LIBS $FRONTEND_LIBS"
AC_CHECK_FUNCS(poppler_page_render)
+ AC_CHECK_FUNCS(poppler_page_render_for_printing)
LIBS=$evince_save_LIBS
PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)