Mask, opacity and gradient (bug)
Open
bug
- Dominant language
- Python
- Stars
- 951
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
This SVG file renders correctly in the browser:
[test.svg.zip](https://github.com/Kozea/CairoSVG/files/5026785/test.svg.zip)
But when I convert this to either PS or PDF, the opacity and the mask are removed. Is there something wrong with the SVG or is there a bug with cairosvg?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached test.svg.zip and reproduce its conversion to PS and PDF, comparing the browser rendering with both outputs. Trace the CairoSVG conversion path for the mask, opacity, and gradient behavior; the work is done when those effects remain present in both generated formats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100