From: Alan W. Irwin <irwin@be...> - 2001-12-15 06:59:11
With the fix to cgm.c that I just committed, all cgm files are generated
smoothly in all modes I tested.
I only found 3 minor rendering problems using visual inspection of the 211
(!) pages of test results in non-familied mode. I also did some spot checks
in familied mode.
In non-familied mode, page 4 of x16c has red and rather fat contour lines
rather than the expected thin, yellow contours. In familied mode the colour
is fine, but the contours are still fat in error.
Also in non-familied mode, p. 6 of the pythondemos and tcldemos has a red
grid rather than the expected yellow grid. This error does not occur
for familied mode.
Andrew, you should be able to see the fat contours for page 4 of x16c in
familied mode, but you will need to install a cgm viewer (ralcgm might
be suitable for your system) that displays multiple pages to look
at the non-familied errors.
I don't know what exactly is clobbering the colour and width on such
relatively rare occasions. But I think you are the one that should sort
this out since you are most familiar with how colour is handled in cgm.c. It
would be nice if you could get this fixed up before the release, but if you
don't have time now, that is fine as well since these cgm rendering problems
occur so rarely.
phone: 250-727-2902 FAX: 250-721-7715
Dr. Alan W. Irwin
Department of Physics and Astronomy,
University of Victoria, P.O. Box 3055,
Victoria, British Columbia, Canada, V8W 3P6
From: Alan W. Irwin <irwin@be...> - 2001-12-16 19:08:21
On Fri, 14 Dec 2001, Alan W. Irwin wrote:
> In non-familied mode, page 4 of x16c has red and rather fat contour lines
> rather than the expected thin, yellow contours. In familied mode the colour
> is fine, but the contours are still fat in error.
N.B. Andrew privately reminded me that the contours of page 4 are supposed to
be wider. You just cannot see it as well for the psc driver (which I was
comparing with) because the width scale there changes more gradually than
the cgm width scale. Therefore, the cgm driver was doing the right thing
> Also in non-familied mode, p. 6 of the pythondemos and tcldemos has a red
> grid rather than the expected yellow grid. This error does not occur
> for familied mode.
I just checked, and Andrew's recent fix has solved *all* these mentioned
colour problems for the cgm driver. Thus, as far as I am concerned it is
perfect. Thanks, Andrew!
In addition to cgm, there is one other vector graphics standard we should
probably support called SVG (Scalable Vector Graphics). (I hasten to add
this is not something to consider for the current release, but probably
something we should do in the next 6 months or so.) SVG is a vector graphics
format that has recently been adopted as a W3C standard. There is tremendous
excitement about this format as the next big thing for web publishing
because it is XML based and because many kinds of graphics are smaller if
represented as vectors rather than bitmaps. To see the maturity of static
SVG support already available in a free package, check out the batik