Re: Printing in CVS HEAD.

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

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
  }

?

> and some method to get the associated GnomePrintContext.

Sounds very non-XP.

Marc
Received on Sun Oct 8 16:02:55 2006

This archive was generated by hypermail 2.1.8 : Sun Oct 08 2006 - 16:02:55 CEST