Right, I think I've tracked the problem down now and have posted a fix (to
PrintWindowPopup) on the update server.
Wayne
On Thu, 12 Jul 2007, Martin Christen wrote:
> The 'use override region when printing' feature in the
> 'print window' popup does not work properly anymore.
> It worked fine on the same project in the past
> (last used with an up to date version of Analysis in May).
>
> Whenever I specify limits to the region to be printed,
> the image is always 'squished' in the y dimension - regardless
> of chosen area, paper size oroutput format (PS, EPS or PDF).
>
> Playing around a bit, the x dimension of the *already scaled*
> window seems to be multiplied by the specified window aspect
> ratio (AR) before printing, hence the distortion.
>
> I'm attaching 4 images that corroborate this supposition.
> All are uniformly rescaled screenshots of a PDF file generated
> from the same HSQC spectrum using the 'print window' command.
>
> The "nolimits" images were taken from a window manually resized
> to cover approx. x: 5.0 ppm - 12.0 ppm / y: 105.0 ppm - 130.0 ppm;
> the "limits" images are generated from the same window with the
> 'override' option set to exactly the values above.
> I changed the AR of the window from 4 to 1 during this test
> (of course distorting my spectrum in the process).
>
> "4_nolimits.png": AR 4.000, 'override' off
> "4_limits.png": AR 4.000, 'override' on
> "1_nolimits.png": AR 1.000, 'override' off
> "1_limits.png": AR 1.000, 'override' on
>
> As you can see, 4_nolimits and 4_limits look very different
> while the *spectra* in 1_nolimits and 1_limits are (almost)
> the same. 'x' x 4 = squished, 'x' x 1 = (obviously) ok.
>
> Can anybody confirm this?
>
> Thanks, Martin
>
|