Re: device resolution assumption

From: J.M. Maurer <j.m.maurer_at_student.utwente.nl>
Date: Sun Nov 07 2004 - 11:01:58 CET

On Sun, 2004-11-07 at 09:40 +0000, Tomas Frydrych wrote:
>
> We currently assume that resolution in both axis is identical, which
> for lot of printers is not the case, causing the infamous "printing
> only across half page bug". At some stage we will need to do away
> with this assumption. I was wondering what the status of uwog's units
> patch was and whether it would not be a suitable opportunity to
> replace GR_Graphics::getDeviceResolution() with
> getDeviceResolutionX() and getDeviceResolutionY() -- it might not be.

My patch sounds like a very suitable place for such work...

> What I really need to know is whether there is any chance we could
> make this change prior to the 2.2. release, or whether I should work
> on win32 printing hack to work around this.

If you do it in my patch, then probably no. It is way to big to be
properly tested before 2.2, and is still not regression free.

Have to run... will mail a diff that also _compiles_ on win32 later
today.

Bye!
  Marc
Received on Sun Nov 7 11:00:14 2004

This archive was generated by hypermail 2.1.8 : Sun Nov 07 2004 - 11:00:14 CET