[NTG-context] SVG path conversion misalignment

Thangalin thangalin at gmail.com
Sun Sep 11 19:37:03 CEST 2022

Hi there,

<svg><rect width="13.305" height="20.079" x="-21.056" y="139.358"
rx="6.058" ry="6.652" transform="rotate(-90)"/><path fill="#aeaeae"
d="M154.143 8.016v12.776c2.952-.672 5.143-3.266 5.143-6.388


In the PDF that's generated, the curve of the gray semi-circle is malformed
with respect to the blackground. It's like there's a small chip. The
expected result is shown here:


Looks like a small precision error in some of the pathing or
transformation/rotation calculations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220911/d6869fc9/attachment.htm>

More information about the ntg-context mailing list