Last modified: 2012-02-21 11:12:04 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 4976 - Upgrade librsvg for better SVG support
Upgrade librsvg for better SVG support
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 4478 4567 4593 5109 5110 5115
  Show dependency treegraph
Reported: 2006-02-12 20:51 UTC by Gustav Broberg
Modified: 2012-02-21 11:12 UTC (History)
1 user (show)

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


Description Gustav Broberg 2006-02-12 20:51:39 UTC
The librsvg version used on Wikimedia's servers seems to be pretty outdated.
According to the
version used is 
pre-Cairo. The first stable librsvg version using Cairo backend was released
2005-09-15 and it works just fine.

The outdated version holds back some SVGs that could replace current PNGs.
Problems include lacking support for dashed lines, lack of support for viewboxes
and some various rendering anomalities. Here are some examples: vs. vs.
Comment 1 Brion Vibber 2006-02-13 05:36:55 UTC
2.3.93 seems to misposition the text on [[Image:Mitochondrie.svg]].
Have to do some more testing...

On the plus side, it seems to be marking a white background color so the
transparent rendered images look ok in IE 6.0.
Comment 2 Brion Vibber 2006-02-13 06:32:21 UTC
Filed upstream as:

Seems to be regression in 2.3.93; 2.3.92 is ok, and reverting a patch there looks ok.
Comment 3 Brion Vibber 2006-02-27 12:01:39 UTC
Installed 2.14.0 and forcing all thumbs to regenerate (for this and various other fixed 
image bugs). Referenced images look good.
Comment 4 Francois 2006-02-28 11:51:04 UTC
Sorry, this still doesn't work for Gradients.

Needs more rsvg lib fixes :(

Comment 5 Martin von Gagern 2006-02-28 13:11:59 UTC
I just compiled librsvg-2.14.0 locally. The fencing image gets rendered
correctly here. So I'd assume the error is not in librsvg this time but rather
in some underlying lib, maybe cairo or something.

Some information on the libs I have installed here:
glib-2.8.6:   libg{lib,module,object,thread}
pango-1.10.3: libpango{,ft2}
xorg-6.8.2:   lib{,,}
Comment 6 Brion Vibber 2006-02-28 21:18:51 UTC
There's nothing to upgrade, resolving FIXED. Also please remember that EXISTING 
Comment 7 Brion Vibber 2006-03-01 01:39:10 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!)
Comment 8 Phrood 2006-03-01 19:43:15 UTC
The current version seems to ignore line widths. For instance, should look like .
Comment 9 Gustav Broberg 2006-03-01 22:58:59 UTC
Regarding #8, I've just submitted a bug about this in librsvg's bug tracker:
Before that and other bugs are fixed, there is no upgrade to make, and therefore
this bug should remain "FIXED".

Furthermore there is still a problem with one of the referenced pictures in the
first post: vs.
(the arrows are too small, I have mailed the librsvg list about this)

I still think this version is much better than the previous one, so thank you
Brion for the upgrade!
Comment 10 Gustav Broberg 2006-03-02 01:29:26 UTC is now fixed.
Comment 11 Brion Vibber 2006-03-02 02:34:04 UTC
Do *NOT* reopen this bug ever again. This bug was for a specific
upgrade, which has been performed.

If there are other problems, open a new bug about them.

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