Wikipedia / Wikipedia:SVG help
Wikipedia / Wikipedia:SVG help
Assistance
If you have a tricky SVG file with a problem not described, or can't quite figure out what the previous section was talking about, you can simply ask for assistance by [[Special:NewSection/) and an editor will attempt to reply here to help!
When you are happy that a request has been fulfilled, just leave a note so that the request can be archived later, as needed.
An alternative source of help is Commons:Graphics village pump.
Current requests
[[Special:NewSection/|Create a new request]]
rsvg messes up feDisplacementMap filter
Hi SVG experts,
As rsvg does not support textPath, I decided to curve text using an SVG filter with feDisplacementMap. (I had previously set the dy of each character, but that makes it difficult to translate the labels.)
It looks fine on the preview when uploading a new version on http://commons.wikimedia.org/w/index.php?title=Special:Upload&wpDestFile=Milky_Way_Arms_ssc2008-10.svg&wpForReUpload=1 as on Firefox, Chrome and Edge, but the text is badly and seemingly randomly distorted in thumbnails.
Could someone please have a look and suggest a fix? Thanks, cmɢʟee τaʟκ (please add {{ping|cmglee}} to your reply) 01:05, 12 November 2025 (UTC)
Repost due to https://commons.wikimedia.org/w/index.php?title=File_talk:Milky_Way_Arms_ssc2008-10.svg&diff=next&oldid=1116978713 cmɢʟee τaʟκ (please add {{ping|cmglee}} to your reply) 10:54, 24 May 2026 (UTC)
In the upload feature, the preview is generated by your browser - it's not been sent to the Commons servers, so hasn't been processed by rsvg at that point. --Redrose64 🌹 (talk) 20:14, 24 May 2026 (UTC)
Text is messed up.
My image (here) has all of the text shifted to the right and a little to the bottom.
This is really frustrating.
Why?
How do I fix it?
It might show a deletion nomination with a reason "I uploaded it by mistake." That was before I knew of this page. Inactive000 (talk) | Political and geographical. 14:12, 27 May 2026 (UTC)
Clicking the link leads to "File usage on Commons/There are no pages that use this file.". —RCraig09 (talk) 14:41, 27 May 2026 (UTC)
@RCraig09: I think this is the correct link. Inactive000 (talk) | Political and geographical. 14:55, 27 May 2026 (UTC)
Nope. Maybe, you could just post the exact name of the image and we'll track it down. Is it one of those shown at this search results page on Commons? —RCraig09 (talk) 17:15, 27 May 2026 (UTC)
Assuming that c:File:Flag of North Korea (20-33 construction sheet).svg is meant, this image has several instances of the declaration font-family:Arial,sans-serif. See my reply at #PNG preview shows text shifted left by ~20px above. In short: Arial is not installed on Commons. --Redrose64 🌹 (talk) 21:53, 27 May 2026 (UTC)
@RCraig09 Yes, that is what I mean. Inactive000 (talk) | Political and geographical. 22:00, 27 May 2026 (UTC)
I have used font-family="Liberation Sans,sans-serif" in many svg files. —RCraig09 (talk) 22:10, 27 May 2026 (UTC)
@RCraig09 Thanks for the tip.
Also, thanks @Redrose64 for telling me the problem. I'll upload the new image here as soon as I'm ready. Inactive000 (talk) | Political and geographical. 22:49, 27 May 2026 (UTC)
Update: Uploaded it, can't find it on Commons or Wikipedia. Seems like I'll need help again. Inactive000 (talk) | Political and geographical. 23:09, 27 May 2026 (UTC)
Surely it's listed at c:Special:Contributions/Inactive000? --Redrose64 🌹 (talk) 13:09, 28 May 2026 (UTC)
I'll check that after I'm done with school today. Inactive000 (talk) | Political and geographical. 18:13, 28 May 2026 (UTC)
I did not find it on my Commons contributions. I do think I might've found it, but if I did, it still looks the exact same. Inactive000 (talk) | Political and geographical. 23:29, 28 May 2026 (UTC)
Well, if it's not there, and not listed at c:Special:Log/Inactive000 either, I can only assume that you didn't upload it to Commons. If you want help, it is essential that we are told the exact filename for which help is required. --Redrose64 🌹 (talk) 06:47, 29 May 2026 (UTC)
The original file uses transform-box:fill-box and transform-origin CSS properties which rsvg does not seem to support. I've remade and uploaded the file without them:
cmɢʟee τaʟκ (please add {{ping|cmglee}} to your reply) 21:48, 31 May 2026 (UTC)
I cannot find either of these properties in the Scalable Vector Graphics (SVG) 1.1 (Second Edition) specification (W3C Recommendation 16 August 2011). The only place that I can find them described is in CSS Transforms Module Level 1 (W3C Candidate Recommendation, 14 February 2019). As has been described before, rsvg doesn't recognise any CSS except for that explicitly described in either the SVG 1.1 spec, or in Cascading Style Sheets, level 1 (W3C Recommendation 17 Dec 1996, revised 11 Apr 2008). --Redrose64 🌹 (talk) 17:41, 1 June 2026 (UTC)