Re: Printing in CVS HEAD.

From: J.M. Maurer <uwog_at_uwog.net>
Date: Sun Oct 08 2006 - 16:37:54 CEST

On Sun, 2006-10-08 at 16:19 +0000, Jean Bréfort wrote:
> Le dimanche 08 octobre 2006 à 16:02 +0200, J.M. Maurer a écrit :
> > On Sun, 2006-10-08 at 15:44 +0000, Jean Bréfort wrote:
> > > Le dimanche 08 octobre 2006 à 20:27 +1000,
> > > msevior@physics.unimelb.edu.au a écrit :
> > > > Hi Tomas,
> > > > Congrats on all your work to get printing going with the pango
> > > > graphics class.
> > > >
> > > > It now basically works.
> > > >
> > > > However I'm seeing substantial non-WYSIWYG behaviour. A document of 3
> > > > pages plus 2 lines on page 4 while on screen becomes 3 pages (less 2
> > > > lines) in print preview.
> > >
> > > Another point is that incorporated objects like charts are not printed.
> > > What I need to fix that is some way to know if the graphics context is
> > > for printing
> >
> > something like:
> >
> > if (pGraphics->queryProperties(GR_Graphics::DGP_PAPER))
> > {
> > // yay, we are printing
> > }
> >
> > ?
>
> This is what is used when not using the PangoGraphics code, but does not
> work with it.

Sounds like a bug in the PangoGraphics class then to me.

Marc
Received on Sun Oct 8 16:39:24 2006

This archive was generated by hypermail 2.1.8 : Sun Oct 08 2006 - 16:39:25 CEST