Page MenuHomePhabricator

fill using radialGradient not rendered
Open, Needs TriagePublic

Description

On the right side of
https://commons.wikimedia.org/wiki/File:LibrsvgBug_T193942.svg
something is missing.

How it is rendered:

How it should be rendered

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg xmlns:xlink="http://www.w3.org/1999/xlink" fill-rule="evenodd" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 74213 43403" xmlns="http://www.w3.org/2000/svg" width="742.13" height="434.03">
 <radialGradient id="a" cx="31807" cy="34229" r="25550" gradientUnits="userSpaceOnUse">
  <stop stop-color="#bbb" offset="0"/>
  <stop offset="1" stop-color="#000"/>
 </radialGradient>
 <path d="m23209 7036.7 44790-298c839 1555 1299 3174 879 4461 859 487 1499 994 1830 1810 111 472 73 556-33 761l-102 101-145 61-363-81c-2893-1049-5202 535-5148 2996 538 6483 10121 10648 9251 24121-179 239-894 348-1825 803-566 277-1338 204-2108 182-1349 933-6308 2174-11028 883-73-26-206-280-160-339 47-58 120-212 271-212 882-1 2089-482 1887-1106-615-1893-1382-3875-2441-6500l-3765-9336c-341-846-185-597-449-1191-116-260-732-894-1178-1370-309-329-1405-497-1830-515l-9780 297c-1160 33-2560-493-3327-1406-51-60-465-719-514-784-1635-2151 795-7215-4902-7014l-9899 134z" fill="url(#a)" stroke="#000" stroke-width="21"/>
</svg>

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 5 2018, 5:46 PM
JoKalliauer updated the task description. (Show Details)May 5 2018, 5:54 PM
JoKalliauer updated the task description. (Show Details)

Looks like another upstream librsvg bug as I can reproduce in Inkscpae which also uses librsvg.
If it's not report yet in https://gitlab.gnome.org/GNOME/librsvg/issues , feel free to upstream it to the librsvg maintainer.

Aklapper moved this task from Backlog to Reported Upstream on the Upstream board.
Vvjjkkii renamed this task from fill using radialGradient not rendered to 1jdaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
JoKalliauer renamed this task from 1jdaaaaaaa to fill using radialGradient not rendered.Jul 1 2018, 7:19 AM
JoKalliauer updated the task description. (Show Details)
JoKalliauer added a subscriber: Aklapper.
CommunityTechBot raised the priority of this task from High to Needs Triage.Jul 5 2018, 6:37 PM

Not a bug in librsvg but in Cairo according to https://gitlab.gnome.org/GNOME/librsvg/issues/257