Re: Print preview widget



On Thu, 2008-04-17 at 17:10 -0400, Jody Goldberg wrote:
> 
> The main upside to the current approach is that it avoids the
> unacceptably vast memory footprint from libgnomeprintui's preview.
> It would record a stream of drawing cmds _in memory_ and replay them
> for the preview.

If we "print" straight to a cairo_t for the preview widget, drawing
commands won't be recorded.  If we do a PS/PDF/SVG then they are
recorded inside cairo, and emitted when the page is done.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



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