[poppler] Poppler ignoring cairo context?

Harald S. Hanssen haraldsh at stud.cs.uit.no
Sun Jan 28 08:59:10 PST 2007


When I create a cairo context and use it in the

void poppler_page_render (PopplerPage *cairo, cairo_t *cairo) function, 
the function render a pdf which totatlly ignores my context. It doesn't 
scale, size or whatever I'm telling it to.

I'd rather not use

void poppler_page_render_to_pixbuf(PopplerPage * page, int src_x, int 
src_y, int src_width, int src_height, double scale, int rotation, 
GdkPixbuf *pixbuf) function, I'd rather use the cairo function.

Am I wrong about the page_render function is not able to render 
according my cairo context?

Harold


More information about the poppler mailing list