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

From: <msevior_at_physics.unimelb.edu.au>
Date: Sun Dec 24 2006 - 14:54:55 CET

>
> 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.

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.
>
Received on Sun Dec 24 14:55:12 2006

This archive was generated by hypermail 2.1.8 : Sun Dec 24 2006 - 14:55:12 CET