On 2008-10-04 16:38-0700 Alan W. Irwin wrote:

> In sum, we have made some good svg device-driver progress as of revision
> 8853, but I still have two issues I still need to look at (ex. 6 missing
> lines[...]

This was an easy one. It was caused by example 6 drawing exactly to the
maximum possible X physical device coordinate, and driver scaling causing
internal PLplot X coordinate overflow for just that case. (This bug was also
recently introduced into gd.c and cairo.c by some scaling changes I made for
those device drivers.)

The solution is to scale by PIXELS_X-1 rather than PIXELS_X (which has the
value 32768 which will overflow signed short integers).  Now fixed for gd,
cairo, svg (and also wingcc and cgm but not tested for those device
drivers).  The other devices that use PIXELS_X (e.g., xwin) appear to have
alternative logic for solving this issue already.

I am still working on one svg issue (4 out of 6 missing subpage plots for
page 2 of example 21).

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to