mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 20:33:46 +01:00
Fix zooming in poppler pdf backend
This commit is contained in:
parent
8af8103bf3
commit
a5bf154dfa
@ -269,7 +269,7 @@ pdf_page_render(zathura_page_t* page)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
poppler_page_render_to_pixbuf(page->data, 0, 0, page->width, page->height,
|
poppler_page_render_to_pixbuf(page->data, 0, 0, page_width, page_height,
|
||||||
page->document->scale, 0, pixbuf);
|
page->document->scale, 0, pixbuf);
|
||||||
|
|
||||||
/* create image buffer */
|
/* create image buffer */
|
||||||
|
Loading…
Reference in New Issue
Block a user