SVG rendering problems

Hi all,

With both matplotlib versions (0.91 and 0.98), my SVGs are rendered
correctly in Inkscape (and almost well in Firefox), but they are not
rendered correctly when viewed with ImageMagick or Eye-of-Gnome.

I did screenshots here, showing this "curve cropping" issue :
http://mathieu-leplatre.info/media/matplotlib-svg/

I am running CentOS 5.2 with matplotlib compiled manually in both cases.
Cairo 1.2.4, librsvg 2.16, inkscape 0.46

Could it be related to matplotlib ? Or to operating system libraries ?

Thank you all for your support.
Mathieu.

In general, SVG rendering support is quite variable between engines. I do most of my testing on Inkscape and Firefox, since they feel the most correct and complete.

Can you send your SVG files (or the scripts that generate them) to this list so I can look at why they may be failing? Screenshots or PNGs from ImageMagick and/or eog may also be useful, in case I can't reproduce the problems with the versions I have here.

Cheers,
Mike

Mathieu Leplatre wrote:

···

Hi all,

With both matplotlib versions (0.91 and 0.98), my SVGs are rendered
correctly in Inkscape (and almost well in Firefox), but they are not
rendered correctly when viewed with ImageMagick or Eye-of-Gnome.

I did screenshots here, showing this "curve cropping" issue :
http://mathieu-leplatre.info/media/matplotlib-svg/

I am running CentOS 5.2 with matplotlib compiled manually in both cases.
Cairo 1.2.4, librsvg 2.16, inkscape 0.46

Could it be related to matplotlib ? Or to operating system libraries ?

Thank you all for your support.
Mathieu.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Can you send your SVG files (or the scripts that generate them) to this list
so I can look at why they may be failing? Screenshots or PNGs from
ImageMagick and/or eog may also be useful, in case I can't reproduce the
problems with the versions I have here.

Mike, do you want them as attachment in this list ? I put them on my webserver :
http://mathieu-leplatre.info/media/matplotlib-svg/

(can't give you easily the script that generates them, it's a whole software...)

I wanted your opinion before insisting on CentOS forums/mailing-lists.

Thanks for your patience.