Page MenuHomePhabricator

librsvg rendering buggy wrt color and fill attributes
Closed, ResolvedPublic

Description

Author: ralf

Description:
librsvg 2.11 or what you're using (the library that converts SVG on the fly to
bitmaps) is quite buggy. You can see that with
http://commons.wikimedia.org/wiki/Image:Lactuca_compounds.svg

Compare with the SVG in your browser. That bug is well known and fixed in
librsvg 2.14. I tried to work around it but even my best version doesn't get
correctly converted.


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

Details

Reference
bz5257

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5257.
bzimport added a subscriber: Unknown Object (MLST).

Wiki.Melancholie wrote:

Confirmed problem! There are many missing lines (600px image)!

@Ralf: Have a look on bug 4976 (actually some kind of duplicate)

ralf wrote:

I think 4976 is related only in that librsvg is the cause.
BTW, I can work around the missing lines in 3 and 4 (see later versions) but I
cannot do this with the unfilled triangles in 1 and 2.

As the subject has changed, I'll reopen the bug.

Looks fine now with librsvg 2.22.