Re: Problem with clip and svg output

luigi scarso <[email protected]> Fri, 4 Nov 2022 18:04:58 +0100
Newsgroups gmane.comp.tex.metapost
Message-ID <CAG5iGsCuSpdAioHP-40JbKhwV1-KQL=cATUy-6mTWXNrGWd5Sw@mail.gmail.com>
On Fri, 4 Nov 2022 at 17:16, luigi scarso <[email protected]> wrote:

>     <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.
>
>
>
Just commited
------------------------------------------------------------------------
r64923 | lscarso | 2022-11-04 18:03:25 +0100 (Fri, 04 Nov 2022) | 1 line

Fixed the value of the clip-path attribute for the svg output.
------------------------------------------------------------------------

--
luigi

--
http://tug.org/metapost/