Re: Problem with clip and svg output
luigi scarso <[email protected]> Fri, 4 Nov 2022 17:16:56 +0100
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <CAG5iGsDnZorLDELsXCC0QWo8OL86T1zbW=UDT+RyM-fr15Hi7g@mail.gmail.com> |
On Fri, 4 Nov 2022 at 16:55, Pétiard François <[email protected]> wrote: > Le 04/11/2022 à 15:49, luigi scarso a écrit : > > > > On Fri, 4 Nov 2022 at 15:31, Pétiard François <[email protected]> > wrote: > >> Hello >> >> the eps and the png output are correct but not the svg output (the clip >> is rectangular, not round). >> > > this is what I see from my (buggy) inkscape 1.2.1 > > -- > luigi > > OK, I see also the same in Inkscape. > > <clipPath id="CLIP1"> <path d="M100.000000 50.000000C100.000000 36.738586,94.731140 24.021912,85.354614 14.645386C75.978088 5.268860,63.261414 -0.000000,50.000000 -0.000000C36.738586 -0.000000,24.021912 5.268860,14.645386 14.645386C5.268860 24.021912,0.000000 36.738586,0.000000 50.000000C0.000000 63.261414,5.268860 75.978088,14.645386 85.354614C24.021912 94.731140,36.738586 100.000000,50.000000 100.000000C63.261414 100.000000,75.978088 94.731140,85.354614 85.354614C94.731140 75.978088,100.000000 63.261414,100.000000 50.000000Z" style="fill: black; stroke: none;"></path> </clipPath> </defs> <g clip-path="url(#CLIP1);"> hm... not ok. It should be <g clip-path="url(#CLIP1)"> i.e. without the final ';' . I need to check. -- luigi -- http://tug.org/metapost/