Last modified: 2010-05-15 16:03:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13885 - SVGs rendering topping out at 1024px wide
SVGs rendering topping out at 1024px wide
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-04-30 01:07 UTC by Stephen Shep
Modified: 2010-05-15 16:03 UTC (History)
0 users

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


Description Stephen Shep 2008-04-30 01:07:18 UTC
On the English Wikipedia SVGs are redering in a more rasterized state than usual, this results in blocky images instead of smooth SVGs.
Comment 1 Brion Vibber 2008-04-30 18:46:11 UTC
Please be as specific as possible, including an example of a page with an image displaying incorrectly.

(Note that you may be using a browser with a 'full-page zoom' feature and have accidentally zoomed in the page, which will scale up all images and make them appear blocky.)
Comment 2 Stephen Shep 2008-04-30 19:45:51 UTC
I'm using IE7 and have it set to the defaults just to make sure it's not me.  Look at Image:Burma Flag.svg and Image:Government Ensign of the United Kingdom.svg .  They both look great in Inkscape, but the white lines ar jagged correct?  I tested on another computer (Linux) and it looked the same on Firefox something-or-other.
Comment 3 Brion Vibber 2008-04-30 20:08:11 UTC
Are your thumbnail preferences set at 1280px or higher?

There seems to be something a bit wonky that's topping out the rasterization at 1024 pixels here, which bears investigation.
Comment 4 Brion Vibber 2008-04-30 20:30:16 UTC
That's probably thanks to this default setting...

/** Don't scale a SVG larger than this */
$wgSVGMaxSize = 1024;

Probably a bit low for a default, given that the standard options array for Image: onscreen display includes a 1280px-wide option. :)

I've pushed the limit up to 2048 both live and in r34061

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