Re: Printing in CVS HEAD.

From: Tomas Frydrych <tf_at_o-hand.com>
Date: Mon Oct 09 2006 - 11:54:48 CEST

msevior@physics.unimelb.edu.au wrote:
> 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.
>
> Do you have an idea what is happenning here? How do you plan to to fix it?

This is the problem I described in an earlier mail to the list; the
GnomePrint Pango backend obtains font metrics for hardcoded resolution
of 72dpi; Pango-xft backend uses whatever the X server is running with
(96dpi on my machine), and the font metrics obtained for the two
resolutions do not match. This is really a GnomePrint bug/API issue, and
should be addressed in GP, but that needs some GnomePrint knowledge
which I do not have. I have emailed Jody a while back, but had no reply
as yet.

Tomas
Received on Mon Oct 9 11:55:33 2006

This archive was generated by hypermail 2.1.8 : Mon Oct 09 2006 - 11:55:34 CEST