Last modified: 2014-03-23 23:20:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19187, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17187 - SVG to PNG conversion broken for text
SVG to PNG conversion broken for text
Status: RESOLVED DUPLICATE of bug 33245
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
unspecified
PC Windows XP
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/A-weighting
:
Depends on:
Blocks: svg
  Show dependency treegraph
 
Reported: 2009-01-28 07:37 UTC by Jim Henderson
Modified: 2014-03-23 23:20 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
The full text of the email above (3.63 KB, text/plain)
2009-01-28 07:37 UTC, Jim Henderson
Details
Replacement image for http://en.wikipedia.org/wiki/File:Lindos5.svg (433.04 KB, image/svg+xml)
2010-01-11 04:11 UTC, Jim Henderson
Details

Description Jim Henderson 2009-01-28 07:37:32 UTC
Created attachment 5736 [details]
The full text of the email above

Several text strings can be displayed overlapping to the point of being unreadable, but the graph remains intact. This happens in the conversion from SVG to PNG. To see it happen:

1. Go to http://en.wikipedia.org/wiki/A-weighting and see the broken PNG there.

2. Double-click the image to go to the file area and see the broken PNG there.

3. Download the file Lindos2.svg

4. Open the downloaded file in an SVG viewer that works, such as IE 7 with the Adobe ActiveX control that comes from the file SVGView.exe, that you can download from 
   http://www.adobe.com/svg/viewer/install/main.html
You'll see the text displayed properly.

This and similar images were placed in the Wikipedia pages by Pete Skirrow of the Lindos company. In an email he said:

I made the original images you mention, as well as some others for:

http://en.wikipedia.org/wiki/Weighting_filter
http://en.wikipedia.org/wiki/Weighting 
http://en.wikipedia.org/wiki/Robinson-Dadson_curves 
http://en.wikipedia.org/wiki/Programme_levels 
http://en.wikipedia.org/wiki/ITU-R_468_noise_weighting 
http://en.wikipedia.org/wiki/Rumble_(audio)
http://en.wikipedia.org/wiki/A-weighting

I can tell you that they all came up perfectly for years, but became 
corrupted a few months ago. This suggests to me that the problem lies in the 
.svg to .png translator that is applied to all Wikipedia page images, so 
that they appear on the page as .png 
<snip>
I think someone updated the Wikipedia conversion software, and that 
it is now incompatible with .svg files generated in OpenOffice.  If you look 
at the last page listed above you will see that this graph is not corrupted, 
and I think this is because this one was created after I discovered and 
started using the free software Inkscape, which I now use and recommend to 
make drawings.
<snip>

I'll attach the whole email.

Thanks for reading this far, and I hope someone can look into the module that does the conversion from SVG to PNG.

Jim
Comment 1 Jim Henderson 2009-01-28 07:42:22 UTC
The link that has the correct image on the Wikipedia page is
    http://en.wikipedia.org/wiki/Rumble_(audio)
Jim
Comment 2 Brion Vibber 2009-01-31 00:44:44 UTC
Note also that there seems to be something wrong with that SVG file to begin with -- Firefox won't render it inline.
Comment 3 Brion Vibber 2009-08-03 16:53:52 UTC
Assigning SVG bugs to Ariel -- need a cleanup pass to see what's fixed up by a librsvg upgrade, what can be resolved with fixes to our font configuration, what can be fixed on our end, and what still needs to be pushed upstream.
Comment 4 Guillaume Paumier 2009-12-31 19:41:23 UTC
All the example files now seem to render properly except [[:File:Lindos5.svg]], that can't be rendered by Firefox either as stated in comment #2.
Comment 5 Jim Henderson 2010-01-10 22:13:23 UTC
I have just downloaded Lindos5.svg, opened it in InkScape, the program that Pete Skirrow recommended, made a trivial change and saved it again. Firefox can now display the corrected file (on my computer) correctly. 

I tried to upload the new version of the picture to the sandbox to see how the converter to PNG handles it, but I am not an "autoconfirmed user", so I couldn't work out how to upload it.

If someone with that status would like to upload the corrected version, I could send it to you by email. 

Jim
Comment 6 p858snake 2010-01-10 23:12:10 UTC
Jim, attach it to this bug report then someone can do it easily.
Comment 7 Jim Henderson 2010-01-11 04:11:33 UTC
Created attachment 6947 [details]
Replacement image for http://en.wikipedia.org/wiki/File:Lindos5.svg

OK, here is the improved image to go in
http://en.wikipedia.org/wiki/File:Lindos5.svg
Thanks,
   Jim
Comment 8 PRO 2011-07-08 14:42:17 UTC
File:Lindos5.svg doesn't exist, the attach is incorrectly in FF4, seems now 
[[:File:Lindos1.svg]]?
Comment 9 Ariel T. Glenn 2011-09-18 08:25:53 UTC
giving svg bugs back to the pool.
Comment 10 matanya 2012-08-05 20:47:01 UTC
Tested on FF14. looks ok.
Comment 11 Derk-Jan Hartman 2012-08-05 23:46:35 UTC
If you look at the file history, the same problem (squashed text in the PNG thumbs) still seems to be present. When it's about files, always check the history, because people tend to upload workaround on top of the problem file.
Comment 13 PRO 2014-03-23 23:20:58 UTC

*** This bug has been marked as a duplicate of bug 33245 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links