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
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Ima...
:
Depends on: 4976
Blocks:
  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: ---


Attachments

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
dimensions.

See http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute
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.


Navigation
Links