svg2pdf.js icon indicating copy to clipboard operation
svg2pdf.js copied to clipboard

fix pattern position (#212)

Open DanielBretzigheimer opened this issue 3 years ago • 3 comments

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 :)

DanielBretzigheimer avatar Aug 11 '22 18:08 DanielBretzigheimer

I've added a test case for the pattern offset fix

DanielBretzigheimer avatar Aug 12 '22 18:08 DanielBretzigheimer

Fixed second point of my comment.

DanielBretzigheimer avatar Aug 12 '22 20:08 DanielBretzigheimer

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.

HackbrettXXX avatar Aug 09 '23 10:08 HackbrettXXX