[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
plotutils SVG fix
From: |
Phil Endecott |
Subject: |
plotutils SVG fix |
Date: |
Wed, 31 Oct 2001 11:54:22 -0500 (EST) |
Hi,
I thought you ought to know about a minor bug in the plotutils code
for outputting SVG. It outputs "fill-rule:even-odd" but it should
say "fill-rule:evenodd", i.e. without the - in evenodd. Here is the
URL of the definitive W3C spec:
http://www.w3.org/TR/SVG/painting.html#FillRuleProperty
I have plotutils 2.4.1. I believe that the fix is just the obvious change
to libplot/s_closepl.c. It is correct in s_path.c (see _svg_fill_style).
Thanks for this great code, which I am using as part of pstoedit. With
this fix the SVG that is generated works fine with Batik and Fop, two
xml.apache.org tools.
--Phil.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- plotutils SVG fix,
Phil Endecott <=