Last modified: 2006-03-01 01:34:13 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 5109 - SVG: preserveAspectRatio attribute not honoured
SVG: preserveAspectRatio attribute not honoured
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 4976
  Show dependency treegraph
Reported: 2006-02-26 23:30 UTC by Martin von Gagern
Modified: 2006-03-01 01:34 UTC (History)
0 users

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


Description Martin von Gagern 2006-02-26 23:30:45 UTC
I have some SVG files that use width and height to match other images from the
same category as well as viewPort to specify a user coordinate system whcih
might be different for the different images. According to the spec, specifying
preserveAspectRatio="xMinYMin meet", the aspect ratio should be preserved, and
the remaining space be padded transparently. The MediaWiki rendering engine does
not preserve the aspect ratio but instead stretches the image to fill both

Comment 1 Brion Vibber 2006-02-27 01:50:01 UTC
This is fixed in librsvg 2.14; upgrade will fix it.
Comment 2 Brion Vibber 2006-03-01 01:34:13 UTC
Ok, action=purge can now be used on an image page to force images to rerender.
(Be careful about caching; make sure it reloads the new image!)

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