CairoSVG icon indicating copy to clipboard operation
CairoSVG copied to clipboard

SVG to PDF render improper PNG position

Open GGPay opened this issue 1 year ago • 1 comments

Hi,

Thanks for you work and package.

I have an SVG with PNG images. PNG images converted improper position on a PDF.

result:

Screenshot from 2024-01-05 17-55-08

Expected result:

Screenshot from 2024-01-05 17-53-36


cairosvg.svg2pdf(url='P6.svg',
                 write_to='P6.pdf')


May be i missed something or messed up, but playing with parameters didn't get me the right result.

SVG: P6.zip

Any help would be appreciate it.

Thank you!

GGPay avatar Jan 06 '24 00:01 GGPay

Hi!

I think that the problem is the same as #400. Looks like the transformation matrix is not applied correctly in patterns.

liZe avatar Jan 06 '24 09:01 liZe