Page MenuHomePhabricator

SVG renderer only supports fixed-point values in gradientTransform
Open, Needs TriagePublic

Description

https://commons.wikimedia.org/wiki/File:Crossed_swords.svg

I reverted it back-and-forth a bit. Reloaded the page, purged the page, makes no difference. I can't make either one of the two available versions show when it is the current revision. The initial version renders thumbnails, but not when I revert to that version. The cropped version never renders a thumbnail.

Technical background:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 1 2019, 1:58 PM
AlexisJazz updated the task description. (Show Details)Feb 1 2019, 1:58 PM
AlexisJazz updated the task description. (Show Details)
TheDJ added a subscriber: TheDJ.Feb 1 2019, 3:12 PM

500 error on the thumbnail:
https://upload.wikimedia.org/wikipedia/commons/thumb/archive/3/3d/20190201134717%21Crossed_swords.svg/120px-Crossed_swords.svg.png

Request from 212.178.66.253 via cp1090 cp1090, Varnish XID 56148839
Error: 500, Internal Server Error at Fri, 01 Feb 2019 15:11:16 GMT

Perhelion added a subscriber: Perhelion.EditedFeb 2 2019, 9:28 PM

The error seems from hyper precision in short form in the gradientTransform="matrix(2e-6 0 0 2e-6, which also Inkscape seems not to support (black rectangle). My Chrome simply ignore this element. So this seems not a SVG standard and so I suggest very low priority to fix. Interesting would be which tool the user had used.
Edit: I've never seen this problem before.

Perhelion renamed this task from SVG thumbnail only renders if the file isn't the current revision to SVG renderer only supports fixed-point values in gradientTransform.Feb 2 2019, 10:00 PM
Perhelion updated the task description. (Show Details)