Page MenuHomePhabricator

Displaying SVG is weird.
Closed, ResolvedPublic

Description

Author: public.wiki

Description:
I am a user of Wikipedia.
I know all SVG images will be converted to PNG format to display them correctly. However, I found
recently some SVG images will become weird after being converted to PNG format by Wiki system.
For example, an SVG image called "Chromosom.svg" on Wikimedia Commons is with this problem. It
looked good before. The url of the page is http://commons.wikimedia.org/wiki/Image:Chromosom.svg.
Please help solve this problem, thank you!


Version: unspecified
Severity: normal
URL: http://commons.wikimedia.org/wiki/Image:Chromosom.svg

Details

Reference
bz5428

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:10 PM
bzimport set Reference to bz5428.
bzimport added a subscriber: Unknown Object (MLST).

broberg wrote:

It's most certainly caused by this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=333057 in libcroco.
Upgrading to version 0.6.1 should fix it.

As a workaround you can try to use inline style attribute instead of css
classes. See the bug report for more info.

public.wiki wrote:

Thank you. I will try it.

When upgrading to version 0.6.1 should fix it, why does nobody do it?

  • Bug 7238 has been marked as a duplicate of this bug. ***