Page MenuHomePhabricator

Rendering problem with SVG engine
Closed, ResolvedPublic

Description

Author: fcartegnie

Description:
I'm stuck with wrong SVG rendering.
Works fine with Inkscape, Firefox or ImageMagic(without transparency).
Here we got black surfaces instead of white original ones. (inverted colors)


Version: unspecified
Severity: normal
OS: Linux
Platform: PC
URL: http://commons.wikimedia.org/wiki/Image:Fencing_foil_valid_surfaces.svg

Details

Reference
bz4593

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedNone

Event Timeline

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

fcartegnie wrote:

I don't know if it comes from the current installed version of Batik,
but I tried version 1.6 (direct call) and it gives gives me correct rendering.

On WikiMedia servers, rsvg is used for rendering

fcartegnie wrote:

So it may be a problem from this lib.
Can anyone test with installed version on command line (rsvg/rsvg-view)?
I've tested with my rsvg (version 2.8.1) it's worst :(

fcartegnie wrote:

Rendering with rsvg version 2.12.7 works perfectly.

Now renders correctly.

OLD RENDERINGS HAVE NOT ALL BEEN REBUILT YET.
TEST WITH NEW SIZES BEFORE COMMENTING FURTHER.

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!)