SVG to PDF render improper PNG position
- Dominant language
- Python
- Stars
- 951
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Thanks for you work and package.
I have an SVG with PNG images. PNG images converted improper position on a PDF.
result:

Expected result:

```
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](https://github.com/Kozea/CairoSVG/files/13847640/P6.zip)
Any help would be appreciate it.
Thank you!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the provided P6.svg archive and the cairosvg.svg2pdf command, then compare PNG placement in the generated PDF with the expected screenshot. Done means the embedded PNG images render at their intended positions without breaking the existing SVG-to-PDF conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100