Re: The printing work has been merged




Ya, and you can render the page much faster/sloppier if you know it's for preview and will only be displayed in a small area... maybe gtk_print_context_is_preview() makes sense?

-Alex

Yevgen Muntyan wrote:
Alexander Larsson wrote:
Print preview isn't handled yet. We'll see how it turns out. There is no
need for a draw_preview of course, since the normal draw_page works
fine.
I was thinking about pagination: if you need to draw a preview
of one first page, you don't have to split whole document into
pages; and if you need to print whole document, you need to
split it completely. So, there should be some different signal
for preview, or some 'setup' signal which would tell about
what's going on, or something like that.

Pagination can be expensive; e.g. if you are printing a text document
containing different fonts, it's pretty much impossible to guess
something without going through whole document, and
calculating every line. So there should be some progress dialog
in Print dialog before user is even able to click Print?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]