|
From: Ethan A M. <merritt@u.washington.edu> - 2008-03-01 22:34:01
|
On Friday 29 February 2008 20:41, Ethan A Merritt wrote: > On Friday 29 February 2008 17:49, m sutton wrote: > > > > However with the 4.3beta snapshot I get the solid black area in > > PowerPoint and Corel Draw gives an I/O read error and OpenOffice works fine. Fixed in CVS. When the support for filled boxes was added in 2003, the code for managing fill styles was put in the routined CGM_fillbox(), which in turn calls CGM_filled_polygon(). However, the pm3d code calls term->filled_polygon() directly. So in general the pm3d calls were not in sync with the current color and fill settings. The fix was to move the fill style code out of CGM_fillbox() and into CGM_filled_polygon(). While testing this change, I found another separate bug in managing dash styles. For example you can see that the three blue lines in the dashcolors.dem demo all have the same dash style in the cgm output. That one remains to be fixed. Also I was reminded that CGM doesn't support RGB colors. I don't know if it would be possible to add support or not. Does anyone have a pointer to CGM documentation? -- Ethan A Merritt |