[poppler] pdf2svg image quality
ajohnson at redneon.com
Sun Dec 4 13:01:54 PST 2011
On 05/12/11 00:05, Jan Kümmel wrote:
> when pdf2svg uses poppler to render a pdf to a cairo svg surface,
> embedded images are downscaled by CairoOutputDev::downscaleSurface which
> results in poor image quality.
> Please find attached a simple patch preventing downscaling for svg
> surfaces. Works for me.
> Could this be useful for other scalable surface types, too?
The bug is in pdf2svg. It should be calling
poppler_page_render_for_printing() instead of poppler_page_render().
poppler_page_render() is for rendering to image surfaces.
poppler_page_render_for_printing() is rendering to vector surfaces.
> poppler mailing list
> poppler at lists.freedesktop.org
More information about the poppler