|
From: Ethan M. <merritt@u.washington.edu> - 2009-07-09 19:44:09
|
On Wednesday 08 July 2009 22:18:16 Petr Mikulik wrote: > > http://www.geocities.jp/tmgpltwin/Files/Files.html > > 0018 090709_1.png, 31,991 bytes, 2009-07-09 > > 0019 090709_2.png, 32,846 bytes, 2009-07-09 > > > > The transparent_solids.dem using gnuplot 4.3 ChangeLog 2009-07-04 results in those indicated in the > > file '0018 090709_1.png'. The background col or became black. > > > > However, I once copied the graph to clip board by using mouse click in window bar and clicked the > > graph windows again, perhaps screen refresh occurred. Then I could see the the graph as expected as > > shown in the file '0019 090709_2.png'. > > The bug can be reproduced by this code: > > set title 'HELLO' tc rgb "blue" > set object 1 rect from 0,0 to 5,5 fc rgb "blue" > set object 2 rect from -6,-6 to -1,-1 fc lt 3 > plot x > > => title is blue, but both rectangles are black. I have found and repaired an initialization bug in the default properties for rectangles. This fix is in today's CVS version of gadgets.h This fixes a change in behaviour of the svg and canvas terminals (maybe others?) triggered by the 2009-07-04 patch. However, the symptom shown by these terminals was that the border of the rectangles was drawn with width 0. It is not clear to me whether the problem shown by the windows terminal is due to the same initialization failure, or to something else. Please test and report. Ethan -- Ethan A Merritt |