Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG to PDF render improper PNG position #411

Open
GGPay opened this issue Jan 6, 2024 · 1 comment
Open

SVG to PDF render improper PNG position #411

GGPay opened this issue Jan 6, 2024 · 1 comment

Comments

@GGPay
Copy link

GGPay commented Jan 6, 2024

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!

@liZe
Copy link
Member

liZe commented Jan 6, 2024

Hi!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants