Re: Print preview widget
- From: Behdad Esfahbod <behdad behdad org>
- To: Jody Goldberg <jody gnome org>
- Cc: Cody Russell <bratsche gnome org>, gtk-devel-list gnome org
- Subject: Re: Print preview widget
- Date: Thu, 17 Apr 2008 17:15:19 -0400
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]