svg2pdf.js
svg2pdf.js copied to clipboard
fix pattern position (#212)
I have (hopefully) resolved the problem of the pattern not starting at the right position. The other issues. I tried fixing the other two issues mentioned by me here, but haven't found a solution yet.
Maybe someone else has an idea or a hint :)
I've added a test case for the pattern offset fix
Fixed second point of my comment.
Could part of the issue be similar to https://github.com/parallax/jsPDF/issues/3627? Or the respective svg2pdf issue https://github.com/yWorks/svg2pdf.js/issues/244? If that's the case then I think we should fix the unit-scaling-related part on jsPDF side.