That's interesting. Your SVG file seems to be hand-edited, using xlink
and entities so the repetitive elements, like the court, are only
defined once. It's clever.
Your SVG renders fine (directly) in Chrome, Firefox & Inkscape for me.
However, maybe these entities are screwing things up somehow when converted.
I find that I can't convert the file to any other format either, when
using ImageMagick (Mac OS X /usr/bin/convert); I get only parts of your
drawing, although not the same ones as what we see on Commons. Even
InkScape doesn't convert it right, I get overlapping text or worse.
Not sure where the bug is. It might be that your SVG code has a bug
which makes it subtly difficult to convert, or perhaps you are just
using features or SVG that are poorly supported in renderers.
On 7/13/11 5:13 AM, Arne 'Timwi' Heizmann wrote:
Consider the following SVG file:
http://commons.wikimedia.org/wiki/File:Badminton_court_legal_bounds.svg
When rendering this at any width of 160px or above, the renderer renders
it correctly, e.g.:
http://goo.gl/Onhww (160px thumbnail,
upload.wikimedia.org)
However, for sizes below 160px, most of the picture is missing in the
rendering:
http://goo.gl/U6RPs (159px thumbnail)
Can this be fixed?
Thanks!
Timwi
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Neil Kandalgaonkar |) <neilk(a)wikimedia.org>