yWorks / svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
MIT License
643 stars 96 forks source link

Pattern is not applied correctly #296

Closed mrwisu closed 2 weeks ago

mrwisu commented 2 weeks ago

Describe the bug A pattern with rectangle as a background color and any path should be repeated like in SVG view, but it seems to be repeated in some totally different way.

To Reproduce See this playground.

Expected behavior I would have expected the PDF to look like so. This is in accordance to the following SVG spec.

Desktop: