Re: Printing in CVS HEAD.

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Sun Oct 08 2006 - 18:19:41 CEST

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.

> > and some method to get the associated GnomePrintContext.
>
> Sounds very non-XP.
>
> Marc
>
>

-- 
Jean Bréfort <jean.brefort@normalesup.org>
Received on Sun Oct 8 16:07:40 2006

This archive was generated by hypermail 2.1.8 : Sun Oct 08 2006 - 16:07:40 CEST