[metapost] Problem with clip and svg output
luigi scarso
luigi.scarso at gmail.com
Fri Nov 4 17:16:56 CET 2022
On Fri, 4 Nov 2022 at 16:55, Pétiard François <petiard.francois at free.fr>
wrote:
> Le 04/11/2022 à 15:49, luigi scarso a écrit :
>
>
>
> On Fri, 4 Nov 2022 at 15:31, Pétiard François <petiard.francois at free.fr>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20221104/62f61f71/attachment.html>
More information about the metapost
mailing list.