Summary: | [PATCH] Cairo transform matrix reset in poppler_page_render | ||
---|---|---|---|
Product: | poppler | Reporter: | Daniel Colascione <danc> |
Component: | cairo backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
URL: | http://code.magicprints.com/poppler-render.patch | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Daniel Colascione
2006-11-28 18:21:06 UTC
I want poppler to accept the patch too. I want to make a PDF file which includes thumbnail image for each page of original PDF. To do the thing, I wrote the following code: columns = 3; rows = 2; for (i = 0; i < poppler_document_get_n_pages(doc); i ++) { cairo_save(cr); column = i % columns; row = i / columns; x = (width / columns) * column; y = (height / rows) * row; cairo_translate(x, y); cairo_scale(cr, 1.0 / columns, 1.0 / rows); poppler_page_render(poppler_document_get_page(doc, i), cr); cairo_restore(cr); } I wrote a patch and started to find similar bug. And I found this bug and filed patch was same as mine. I'm happy if the patch is applied.f Thanks for the patch. Fixed in cvs. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.