Radial gradients with focus outside outer circle do not rendered correctly
Bug #845153 reported by
Ulf Adams
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Krzysztof Kosinski |
Bug Description
Radial gradients don't render correctly if the focus (fx, fy) lies outside the circle with center (cx, cy) and radius r. The SVG spec has this to say:
If the point defined by ‘fx’ and ‘fy’ lies outside the circle defined by ‘cx’, ‘cy’ and ‘r’, then the user agent shall set the focal point to the intersection of the line from (‘cx’, ‘cy’) to (‘fx’, ‘fy’) with the circle defined by ‘cx’, ‘cy’ and ‘r’.
I have attached a sample svg that I created with inkscape, and two screenshots, one for inkscape, and one for chrome (the browser), which appears to render the gradient correctly.
Related branches
Changed in inkscape: | |
assignee: | nobody → Krzysztof Kosinski (tweenk) |
To post a comment you must log in.
I'm using "Inkscape 0.48+devel r" from the Inkscape developers PPA: /launchpad. net/~inkscape. dev/+archive/ trunk
https:/
To be precise, this package is currently installed: 0.48+devel+ 10324+10~ natty1_ amd64.deb
inkscape_