Last modified: 2012-10-25 18:08:23 UTC
When a PNG image preview of a SVG image is created by MediaWiki (on file description page, or when image is used in wiki pages) it may be rendered weirdly. But if you click on the image on the description page, the SVG file is correctly rendering by the browser. For an example, see : https://commons.wikimedia.org/wiki/File:Tableau_g%C3%A9n%C3%A9alogique_des_Cap%C3%A9tiens_directs.svg
Another example is https://commons.wikimedia.org/wiki/File:Jeux.svg where points of dices are not rendered correctly. That is why I created a PNG version instead of using SVG format.
I think everyone is aware that rsvg has parts of it that are shitty. (Note MediaWiki doesn't render the svg's, another program named rsvg does. MediaWiki can be configured to use a variety of different svg renderers. I think rsvg was chosen for performance, but don't quote me on that). Since there is nothing specificly actionable on this bug (other than make svgs not suck), I'm dupping to the tracking bug for svg issues - bug 8901 [not sure if that's entirely appropriate or not. people can revert if they disagree] *** This bug has been marked as a duplicate of bug 8901 ***
(In reply to comment #2) > Since there is nothing specificly actionable on this bug (other than make svgs > not suck), I'm dupping to the tracking bug for svg issues - bug 8901 [not sure > if that's entirely appropriate or not. people can revert if they disagree] I'm not sure what you mean by there not being anything specifically actionable. User uploads <https://commons.wikimedia.org/wiki/File:Tableau_g%C3%A9n%C3%A9alogique_des_Cap%C3%A9tiens_directs.svg> to Wikimedia Commons. SVG displays fine in SVG editors and in the browser, but Wikimedia's PNG of the SVG is simply broken. That seems fairly actionable to me.
(In reply to comment #3) > (In reply to comment #2) > > Since there is nothing specificly actionable on this bug (other than make svgs > > not suck), I'm dupping to the tracking bug for svg issues - bug 8901 [not sure > > if that's entirely appropriate or not. people can revert if they disagree] > > I'm not sure what you mean by there not being anything specifically actionable. > User uploads > <https://commons.wikimedia.org/wiki/File:Tableau_g%C3%A9n%C3%A9alogique_des_Cap%C3%A9tiens_directs.svg> > to Wikimedia Commons. SVG displays fine in SVG editors and in the browser, but > Wikimedia's PNG of the SVG is simply broken. That seems fairly actionable to > me. What I mean is rsvg has its issues, and they are numerous. Since there is no one specific issue reported here, I thought dupping to the bug tracking all rsvg issues would be a good idea. After all one can only stop things from sucking by working on each issue one at a time (Short of the radical action of changing which svg renderer, which seems unlikely to happen). I suppose tracking all these rsvg issues here is kind of pointless in itself since they're all upstream issues, and to my knowladge no one Wikimedia related contributes to rsvg, but that seems to be what we've been doing for a while now.
This works now with the rsvg upgrade.