Re: Print preview widget
- Date: Thu, 17 Apr 2008 17:15:19 -0400
- From: Behdad Esfahbod <behdad@xxxxxxxxxx>
- Subject: 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
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list