trunk: broken rendering of gradients with "objectBoundingBox" as gradient units (rev >= 12528)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Inkscape |
Fix Released
|
High
|
Martin Owens | ||
Bug Description
Rendering of the example file 'share/
Steps to reproduce:
1) launch inkscape (default prefs, default new document)
2) open 'gradient.svg' from '/usr/share/
-> most of the objects with radial gradients are barely or not visible, objects with linear gradients are visible, but rendered with a single color.
3) select all (Ctrl+A) and nudge with arrow keys
-> gradient definitions are rewritten, and all gradients appear to be rendered in correct position and size.
Possibly (not verified) a problem with "userSpaceOnUse" vs "objectBoundingBox" (gradientUnits): inkscape writes gradient definitions only in 'userSpaceOnUse', but (used to) support 'objectBoundingBox' units for rendering.
Note: If attribute ‘gradientUnits’ is not specified, then the effect is as if a value of 'objectBoundingBox' were specified.
See also:
<http://
Revision which AFAICT triggers this regression:
12528: Remove setItemBounds and _item_bbox because aren't sensible, replace with bbox.
<http://
Attached: gradient.svg from current trunk (r12583), exported bitmap images from r12526, r12528, r12583 (all on OS X 10.7.5).
| summary: |
- trunk: rendering of 'share/examples/gradient.svg' broken (rev >= 12528) + trunk: broken rendering of gradients with "objectBoundingBox" as + gradient units (rev >= 12528) |

Confirmed on Windows XP, Inkscape trunk revision 12583.