GNOME Bugzilla – Bug 641823
transform="rotate(x)" causes incorrect gradient rendering.
Last modified: 2017-12-13 17:46:24 UTC
Created attachment 180378 [details] minimal test case If you have a svg file with a with a element that uses a gradient, and it has a rotate transform, then the offset of the gradient is rendered incorrectly. I've attached a minimal test case. The offsets are correct at 0° multiples of 90°. It is worst at multiples 45°. My use case is this file: http://en.wikipedia.org/wiki/File:Rowing_Blade_Template.svg, and the many files based on it. Sometimes they are rendered correctly, e.g.: http://en.wikipedia.org/wiki/File:Josephine_Butler_College_Boat_Club_Blade.svg, but if I download them, and run convert manually on my computer, then they are allways wrong. So I think that this was not a bug in some version of rsvg installed on wikipedia in the past, and they are showing a cached version.
Created attachment 180379 [details] Testcase redered with rsvg-convert
Created attachment 180380 [details] Testcase rendered with firefox
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/48.