On 2009-09-15 12:34-0700 Alan W. Irwin wrote: > Thanks [Mark] for spotting this [-bg] issue which I confirm in latest svn > trunk. The > revision you mentioned is in my pre-release flurry of commits to plctrl.c to > fix up issues with setting up default colour palettes exclusively from > files. > > I don't have time to investigate this bug at the moment, but I will take > responsibility for fixing it (say, in the next two weeks) unless somebody > else beats me to it.
The problem was that the plcmap0_def logic called indirectly by plscmap0n(0) read in the colours from the default palette file okay but then didn't actually set cmap0 with those colours! Details, details.... :-) FIXED as of revision 10418. Prior to that revision, the result was cmap0 was zeroed (black, transparent colours). For older devices like xwin which are not transparency aware, the result was opaque black lines. For modern devices like xcairo the result was transparent black lines (which of course you could not see). We don't actually call plscmap0n(0) anymore from the chain of routines invoked by plinit. Instead, if cmap0 has not been initialized yet we simply call plspal0 directly for the default palette file which bypasses the logic problems of plcmap0_def. Thus, this bug was not seen by any of our testing, and it took Mark's use of the -bg option to show the bug. If any user complains about colour issues with 5.9.5, it is probably this issue so the first advice should be to try the svn trunk revision 10418 or higher. 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 __________________________ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel