Page MenuHomePhabricator

SVG thumbnailing: radialGradient get ruined (striped)
Open, Needs TriagePublic

Description

This bug seams appear since the last librSVG update (2.40.2). (reported on Commons: GL/I). The gradient get from white to black with transparency on the circle element (in the example file there is also a clipping on the circle but this doesn't matter, I tested many cases to get the very strange workaround, the circle element also doesn't matter):

Workaround/fix (really strange) is to increase the x/y coords of the radialGradient:

Event Timeline

Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptAug 16 2016, 10:21 AM
Perhelion renamed this task from SVG thumbnailing: radialGradient on circle element get ruined to SVG thumbnailing: radialGradient on circle element get ruined (striped).Aug 16 2016, 10:26 AM
Perhelion updated the task description. (Show Details)
Perhelion renamed this task from SVG thumbnailing: radialGradient on circle element get ruined (striped) to SVG thumbnailing: radialGradient get ruined (striped).Aug 16 2016, 10:30 AM
Perhelion updated the task description. (Show Details)

Removing Multimedia project (not related)

Perhelion updated the task description. (Show Details)Aug 17 2016, 3:53 PM

The bug seems already present in 2.40.2.

I changed the description.

Cannot reproduce the problem using https://upload.wikimedia.org/wikipedia/commons/e/ee/Structure_of_the_magnetosphere_arrows.svg linked on https://commons.wikimedia.org/wiki/File:Structure_of_the_magnetosphere_arrows.svg running rsvg-convert -h 512 -f png -o Structure_of_the_magnetosphere_arrows.png Structure_of_the_magnetosphere_arrows.svg locally.
The PNG thumbnail shows the gradient correctly but I'm running librsvg2-2.44.13 which is way newer than the version on Wikimedia servers.