Last modified: 2006-03-01 01:34:13 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 T7109, the corresponding Phabricator task for complete and up-to-date bug report information.
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