<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Luigi,</p>
<p>I did read it but I'm not a programmer, sorry.</p>
<p>So only now it makes sense to me, that only coordinates with
fractions are affected.</p>
<p>I will try to compile mpost as soon as the patch is committed.</p>
<p>Thank you very much again.</p>
<p><br>
</p>
<p>Greetings Lutz</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 20.01.2023 um 09:56 schrieb luigi
scarso:<br>
</div>
<blockquote type="cite"
cite="mid:CAG5iGsA8dnAOMcfsiPRyFTKqxhrdv0jdNN42qSzzTpw3x-J=uQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 20 Jan 2023 at
09:49, Lutz Haseloff <<a
href="mailto:lutz.haseloff@toppkieker.info"
moz-do-not-send="true" class="moz-txt-link-freetext">lutz.haseloff@toppkieker.info</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Luigi,</p>
<p>your hint, only to use the "positive quadrant" led me
to this ugly workaround until mpost's svg output is
debugged:</p>
<p>def korrektur =<br>
z1 = llcorner currentpicture ;<br>
numeric dw, dh ;<br>
if x1 < 0: dw := abs x1; else: dw := 0 fi ;<br>
if y1 < 0: dh := abs y1; else: dh := 0 fi ;<br>
currentpicture := currentpicture shifted (dw,dh) ;<br>
enddef ;<br>
outputformat := "svg";<br>
outputtemplate := "%j-%c-corrected.%{outputformat}";<br>
for i = 17 upto 23 :<br>
beginfig(i)<br>
fill fullcircle scaled i withcolor red ;<br>
korrektur ;<br>
endfig ;<br>
endfor ;<br>
end</p>
<p>(seems to work so far...)</p>
</div>
</blockquote>
<div>Ah ok, but I was talking about
source/texk/web2c/mplibdir/svgout.w, wher you can read the </div>
<div>@ We often need to print a pair of coordinates.<br>
<br>
Because of bugs in svg rendering software,<br>
</div>
<div>:</div>
<div>text. I think we can use double instead of integer for dx
and dy (I will commit the patch this evening).</div>
<div><br>
</div>
<div>--</div>
<div>luigi</div>
<div><br>
</div>
</div>
</div>
</blockquote>
</body>
</html>