Re: CVS: commit dom abi/src/af/gr/unix gr_UnixPangoGraphics.h

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Sun Dec 24 2006 - 15:19:40 CET

Le lundi 25 décembre 2006 à 00:54 +1100, msevior@physics.unimelb.edu.au
a écrit :
> >
> > Update of /cvsroot/abi/src/af/gr/unix
> > In directory abiword.snt.utwente.nl:/tmp/cvs-serv14513
> >
> > Modified Files:
> > gr_UnixPangoGraphics.h
> > Log Message:
> > fix WYSIWYG printing in normal mode by disabling 'quick print'. revert if
> > this gets fixed properly, but it's really probably not too bad to not have
> > quick printing on
> >
>
> Actually, this exposes a bug in the pango graphics class when building a
> view for printing. The line spacing is significantly larger than in the
> on-screen view. For example the GUADEC-4 document get increased by 4 pages
> in length when printing now.
>
> Using "quickPrint" in the print view gives 100% WYSIWYG for pango graphics.

Hmm, as far as I remember there was a "quickPrint" problem with embedded
objects. So I'm sure it is really 100% WYSIWYG.

> We should certainly fix this bug, but after that this should revert to
> return true. The bug was not that Normal view didn't get turned into
> something. The bug was the line height thing.
>
> Cheers
>
> Martin
>
> > Index: gr_UnixPangoGraphics.h
> > ===================================================================
> > RCS file: /cvsroot/abi/src/af/gr/unix/gr_UnixPangoGraphics.h,v
> > retrieving revision 1.32
> > retrieving revision 1.33
> > diff -u -d -r1.32 -r1.33
> > --- gr_UnixPangoGraphics.h 23 Dec 2006 00:11:45 -0000 1.32
> > +++ gr_UnixPangoGraphics.h 23 Dec 2006 12:52:10 -0000 1.33
> > @@ -326,7 +326,7 @@
> >
> > virtual UT_uint32 getDeviceResolution(void) const;
> > virtual bool canQuickPrint(void)
> > - { return true;}
> > + { return false;}
> > protected:
> >
> >
> >
> > -----------------------------------------------
> > To unsubscribe from this list, send a message to
> > abisource-cvs-commit-request@abisource.com with the word
> > unsubscribe in the message body.
> >
>
>

-- 
Jean Bréfort <jean.brefort@normalesup.org>
Received on Sun Dec 24 15:19:23 2006

This archive was generated by hypermail 2.1.8 : Sun Dec 24 2006 - 15:19:23 CET