{"action":"reopened","issue":{"url":"https://api.github.com/repos/ElinamLLC/SharpVectors/issues/64","repository_url":"https://api.github.com/repos/ElinamLLC/SharpVectors","labels_url":"https://api.github.com/repos/ElinamLLC/SharpVectors/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ElinamLLC/SharpVectors/issues/64/comments","events_url":"https://api.github.com/repos/ElinamLLC/SharpVectors/issues/64/events","html_url":"https://github.com/ElinamLLC/SharpVectors/issues/64","id":342213536,"node_id":"MDU6SXNzdWUzNDIyMTM1MzY=","number":64,"title":"LinearGradientBrush trouble (2)","user":{"login":"Kozinaka","id":10096369,"node_id":"MDQ6VXNlcjEwMDk2MzY5","avatar_url":"https://avatars2.githubusercontent.com/u/10096369?v=4","gravatar_id":"","url":"https://api.github.com/users/Kozinaka","html_url":"https://github.com/Kozinaka","followers_url":"https://api.github.com/users/Kozinaka/followers","following_url":"https://api.github.com/users/Kozinaka/following{/other_user}","gists_url":"https://api.github.com/users/Kozinaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Kozinaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kozinaka/subscriptions","organizations_url":"https://api.github.com/users/Kozinaka/orgs","repos_url":"https://api.github.com/users/Kozinaka/repos","events_url":"https://api.github.com/users/Kozinaka/events{/privacy}","received_events_url":"https://api.github.com/users/Kozinaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"paulushub","id":809351,"node_id":"MDQ6VXNlcjgwOTM1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/809351?v=4","gravatar_id":"","url":"https://api.github.com/users/paulushub","html_url":"https://github.com/paulushub","followers_url":"https://api.github.com/users/paulushub/followers","following_url":"https://api.github.com/users/paulushub/following{/other_user}","gists_url":"https://api.github.com/users/paulushub/gists{/gist_id}","starred_url":"https://api.github.com/users/paulushub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulushub/subscriptions","organizations_url":"https://api.github.com/users/paulushub/orgs","repos_url":"https://api.github.com/users/paulushub/repos","events_url":"https://api.github.com/users/paulushub/events{/privacy}","received_events_url":"https://api.github.com/users/paulushub/received_events","type":"User","site_admin":false},"assignees":[{"login":"paulushub","id":809351,"node_id":"MDQ6VXNlcjgwOTM1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/809351?v=4","gravatar_id":"","url":"https://api.github.com/users/paulushub","html_url":"https://github.com/paulushub","followers_url":"https://api.github.com/users/paulushub/followers","following_url":"https://api.github.com/users/paulushub/following{/other_user}","gists_url":"https://api.github.com/users/paulushub/gists{/gist_id}","starred_url":"https://api.github.com/users/paulushub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulushub/subscriptions","organizations_url":"https://api.github.com/users/paulushub/orgs","repos_url":"https://api.github.com/users/paulushub/repos","events_url":"https://api.github.com/users/paulushub/events{/privacy}","received_events_url":"https://api.github.com/users/paulushub/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-18T07:45:48Z","updated_at":"2018-09-03T21:15:13Z","closed_at":null,"author_association":"NONE","body":"I have found in https://commons.wikimedia.org/wiki/Tango_icons fragment of icon with linear gradient trouble in SharpVectors. This is hard core sample:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\r\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\r\n\r\n<svg\r\n   xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\r\n   xmlns:cc=\"http://creativecommons.org/ns#\"\r\n   xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\r\n   xmlns:svg=\"http://www.w3.org/2000/svg\"\r\n   xmlns=\"http://www.w3.org/2000/svg\"\r\n   xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n   xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\r\n   xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\r\n   width=\"32px\"\r\n   height=\"32px\"\r\n   id=\"svg2\"\r\n   sodipodi:version=\"0.32\"\r\n   inkscape:version=\"0.92.3 (2405546, 2018-03-11)\"\r\n   version=\"1.0\"\r\n   sodipodi:docname=\"Test2.svg\"\r\n   inkscape:export-filename=\"/home/lapo/Desktop/per jimmac/scalable/devices/battery.png\"\r\n   inkscape:export-xdpi=\"90\"\r\n   inkscape:export-ydpi=\"90\"\r\n   inkscape:output_extension=\"org.inkscape.output.svg.inkscape\">\r\n  <defs\r\n     id=\"defs4\">\r\n    <linearGradient\r\n       inkscape:collect=\"always\"\r\n       xlink:href=\"#StrokeGradient\"\r\n       id=\"linearGradient3339-5\"\r\n       gradientUnits=\"userSpaceOnUse\"\r\n       x1=\"15.518289\"\r\n       y1=\"35.925144\"\r\n       x2=\"17.391279\"\r\n       y2=\"41.137268\" />\r\n    <linearGradient\r\n       inkscape:collect=\"always\"\r\n       id=\"StrokeGradient\">\r\n      <stop\r\n         style=\"stop-color:#d11111;stop-opacity:1\"\r\n         offset=\"0\"\r\n         id=\"stop7479-7\" />\r\n      <stop\r\n         style=\"stop-color:#7abe03;stop-opacity:1\"\r\n         offset=\"1\"\r\n         id=\"stop7481-6\" />\r\n    </linearGradient>\r\n  </defs>\r\n  <sodipodi:namedview\r\n     id=\"base\"\r\n     pagecolor=\"#ffffff\"\r\n     bordercolor=\"#666666\"\r\n     borderopacity=\"1.0\"\r\n     inkscape:pageopacity=\"0.0\"\r\n     inkscape:pageshadow=\"2\"\r\n     inkscape:zoom=\"32\"\r\n     inkscape:cx=\"23.422064\"\r\n     inkscape:cy=\"18.0022\"\r\n     inkscape:document-units=\"px\"\r\n     inkscape:current-layer=\"layer5\"\r\n     showgrid=\"true\"\r\n     inkscape:window-width=\"1920\"\r\n     inkscape:window-height=\"1017\"\r\n     inkscape:window-x=\"-8\"\r\n     inkscape:window-y=\"-8\"\r\n     stroke=\"#c4a000\"\r\n     inkscape:grid-points=\"false\"\r\n     inkscape:grid-bbox=\"true\"\r\n     fill=\"#555753\"\r\n     showborder=\"true\"\r\n     inkscape:showpageshadow=\"false\"\r\n     inkscape:window-maximized=\"1\"\r\n     inkscape:snap-global=\"false\">    \r\n  </sodipodi:namedview>\r\n  <g\r\n     inkscape:groupmode=\"layer\"\r\n     id=\"layer5\"\r\n     inkscape:label=\"Icon\"\r\n     style=\"display:inline\"\r\n     transform=\"translate(0,-16)\">\r\n    <ellipse\r\n       id=\"path7459-3\"\r\n       style=\"color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3339-5);stroke-width:1.24232507;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate\"\r\n       cx=\"16.175068\"\r\n       cy=\"38.542446\"\r\n       rx=\"7.8665628\"\r\n       ry=\"4.8613591\"\r\n       transform=\"matrix(1.2076429,0,0,0.53652634,-3.5337049,9.6498437)\" />\r\n  </g>\r\n</svg>\r\n\r\n```\r\n![lineargradienttrouble2](https://user-images.githubusercontent.com/10096369/42867177-6f86f47e-8a77-11e8-96f5-cd71cfaccbe4.jpg)\r\n\r\nI have tested 3 different SVG parsers - all of them failed on this sample.\r\nI think it cos of this transformations:\r\n\r\n```\r\n<g\r\n     inkscape:groupmode=\"layer\"\r\n     id=\"layer5\"\r\n     inkscape:label=\"Icon\"\r\n     style=\"display:inline\"\r\n     transform=\"translate(0,-16)\">  <=====\r\n    <ellipse\r\n       id=\"path7459-3\"\r\n       style=\"color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3339-5);stroke-width:1.24232507;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate\"\r\n       cx=\"16.175068\"\r\n       cy=\"38.542446\"\r\n       rx=\"7.8665628\"\r\n       ry=\"4.8613591\"\r\n       transform=\"matrix(1.2076429,0,0,0.53652634,-3.5337049,9.6498437)\" /> <======\r\n  </g>\r\n```\r\n\r\n"}}
{"actor":{"display_login":"paulushub"}}