Re: Gtk Printing and evince

2006-07-19 Thread Dominic Lachowicz
Hi Carlos, In evince we have the document pages already rendered, so can I take the pixbuf of the page and create a cairo surface from it and use it in draw_page signal? I don't know if this is the right way to do it. Unless rendered at a high resolution, the output will probably look pretty

Re: Gtk Printing and evince

2006-07-19 Thread Carlos Garcia Campos
El mié, 19-07-2006 a las 08:20 -0400, Dominic Lachowicz escribió: Hi Carlos, In evince we have the document pages already rendered, so can I take the pixbuf of the page and create a cairo surface from it and use it in draw_page signal? I don't know if this is the right way to do it.

Re: Gtk Printing and evince

2006-07-19 Thread Christian Persch
Hi, I'm porting evince from gnome-print to gtk-print, but I have some doubts. In evince we have the document pages already rendered, so can I take the pixbuf of the page and create a cairo surface from it and use it in draw_page signal? I don't know if this is the right way to do it. I