Cairo SVG can't handle masks properly
Open
bug
- Dominant language
- Python
- Stars
- 951
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
The following SVG stopped working after PR #192. Reverting this chage fixed the issue:
https://github.com/Kozea/CairoSVG/pull/192/files#diff-df66f79606a5ca006b57c7ad5b5fc43b
Example:
[floor.svg.txt](https://github.com/Kozea/CairoSVG/files/2551508/floor.svg.txt)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the mask failure with the attached floor.svg.txt example and compare the output with the behavior before and after PR #192. Trace the SVG mask handling changed by that pull request, then add regression coverage for the example and verify the rendered output no longer differs incorrectly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100