|
From: Ethan A M. <merritt@u.washington.edu> - 2008-03-01 04:41:42
|
On Friday 29 February 2008 17:49, m sutton wrote:
>
> I'm thinking that there may be a problem somewhere.
>
> Attached (test38.cgm) is a cgm file created with gnuplot 3.8h.
> I can load this file into PowerPoint 2003 and Corel Draw X3 just fine.
>
> 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.
Strange. And nobody has complained for four and a half years.
I guess nobody uses cgm + pm3d.
Disabling the small section below, added in May 2003, makes pm3d work
in PowerPoint under wine.
--- gnuplot-broken/term/cgm.trm 2008-02-24 11:49:37.000000000 -0800
+++ gnuplot-works/term/cgm.trm 2008-02-29 20:29:23.000000000 -0800
@@ -1162,10 +1162,12 @@
* we implement a big enough block that problems should be
* rare. */
+#ifdef BROKEN_BROKEN
if (cgm_current.interior_style != cgm_next.interior_style){
cgm_current.interior_style = cgm_next.interior_style;
CGM_write_int_record(5, 22, 2, &cgm_next.interior_style);
}
+#endif
if (cgm_current.fill_color != cgm_next.fill_color){
cgm_current.fill_color = cgm_next.fill_color;
CGM_write_int_record(5, 23, 2, &cgm_next.fill_color);
Those lines were added in support of pattern-fill, and removing them
breaks pattern fill (again as judged using PowerPoint under wine).
I can stare at the code and hope that further enlightenment strikes,
but I don't have any CGM documentation to guide me any further.
Ethan
--
Ethan A Merritt
|