[metapost] Clipped svg output

Lutz Haseloff lutz.haseloff at toppkieker.info
Mon Jan 9 16:30:56 CET 2023

Hi all,

the svg output of recent metapost (linux and windows) seems to be clipped or the viewbox of the svg is shifted a small amount down and right.

My test.mp is:

outputformat := "svg";
outputtemplate := "%j.%{outputformat}";
draw fullcircle scaled 20;

The resulting svg included in a context lmtx file:


eps and png output is ok.

Has it to do with the recent change in the svg clippath?
Am I doing something wrong?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20230109/367c104b/attachment.html>

More information about the metapost mailing list.