Re: Print preview widget



On Wed, 2008-04-16 at 14:02 -0400, Behdad Esfahbod wrote:
> On Wed, 2008-04-16 at 19:54 +0200, Mathias Hasselmann wrote:
> > Am Mittwoch, den 16.04.2008, 12:46 -0500 schrieb Cody Russell:
> > > I was thinking that it would be nice if there was an integrated print
> > > preview widget in GTK+, that would be available cross-platform and
> > > wanted to check with people here before I commit much time to this.
> > > Right now we're spawning another process to do this, and I think an
> > > integrated widget would be much nicer.
> > 
> > I fully agree with you.
> 
> +1 too.  Though opening the actual generated PDF in evince is always
> going to be a more reliable preview than rendering to a widget.  There
> always will be bugs here and there, you know...

_If_ gtk+ printing has to go through a cairo layer, I don't see why this
would be so.  Cairo should render the same content to screen as it does
to a PS/PDF file.  By explicit goal of the Cairo project, this _must
work_.

You could claim quite the reverse.  If print preview does not go through
App->Cairo->PDF->Cairo->Screen layers (would be only
App->Cairo->Screen), then users will not catch PDF/PS generation bugs so
soon, they only see the bugs appear on paper, and then it will be
convoluted by printer driver bugs, etc.

Anyway, +1 from me too.

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
"The universe is always one step beyond logic" -- Frank Herbert



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