[Poppler-bugs] [Bug 9190] [PATCH] Cairo transform matrix reset in poppler_page_render

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Sun Dec 10 06:25:21 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=9190          
     




------- Additional Comments From kou at cozmixng.org  2006-12-10 06:25 -------
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          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Poppler-bugs mailing list