Page MenuHomePhabricator

SVG thumbnailing: radialGradient get ruined (striped)
Closed, ResolvedPublic

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

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)

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.

JoKalliauer changed the task status from Open to Stalled.Jun 30 2021, 3:05 PM
JoKalliauer moved this task from Backlog to update librsvg on the Wikimedia-SVG-rendering board.