On 2010-03-13 13:16-0800 Alan W. Irwin wrote:

> On 2010-03-13 14:45-0500 Hazen Babcock wrote:
>
>> Alan W. Irwin wrote:
>>> Hazen, will you have a look at this issue, please?  This transparent
>>> background issue does not appear for, e.g., -dev pscairo so it appears this
>>> issue may be specific within the cairo devices to just -dev xcairo although
>>> I haven't checked the other cairo device possibilities beside pscairo.
>>
>> Looks like it was an issue with the driver not using the "good PLplot core
>> fallback clear capability".
>
> Hmm. after updating to get your fix and "make cairo" I still get the same
> (bad) result (with page 1 still visible underneath) for
>
> examples/c/x02c -dev xcairo  -bg 0000FF_0.1
>
> examples/c/x02c -dev qtwidget -bg 0000FF_01
>
> was fine.
>
> I haven't tried a completely clean build yet, but "make cairo" did create
> a new cairo device driver so your fix should be properly built. [...]

Yep, same (bad) results for an absolutely clean build tree, and I
double-checked the cairo.c code had your fix.  In fact, no change in the
results is expected as a result of your change since the default value of
pls->dev_clear is zero in any case.

Just in case, I also tried a direct (rather than X-terminal) display and
continued to get the same bad xcairo and good qtwidget transparent
background results.

Do you currently get good results for the above test with -dev xcairo?

Currently, there are problems with Hez's recent cairo change (see my next
post) so that the cairo file devices all segfault.  However, if I revert
back to --revision 10861 for cairo.c, then the segfaults disappear and then
pngcairo does not have this transparent background issue while xcairo still
does.  The conclusion from this test is the transparent background issue is 
likely due to some difference in treatment between the cairo file devices
and xcairo, and whatever the xcairo issue, it is independent of Hez's recent
changes.

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
__________________________

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to