GNOME Bugzilla – Bug 111123
Epiphany doesn't display SVGs
Last modified: 2004-12-22 21:47:04 UTC
I've just tested epiphany-0.5.0 against mozilla SVG samples and found that no single sample worked. At the same time google doesn't say anything definite about SVG in Epiphany. So, I've made a conclusion that Epiphany doesn't support SVG yet and I am making an enhancement request to add such support to Epiphany. As far as I understand, Epiphany is build on a top of of Mozilla rendering engine. So, perhaps, such enhancement should take a lot as Mozilla has already got such such support.
Was the mozilla you compiled epiphany with, supporting SVG ? This looks like a mozilla embedding bug.
Mozilla has been compiled with SVG support and I even can see most of test samples from Mozilla svg project page, although with some buggy quality. So, you are saying that Epiphany receives all rendering that Mozilla was compiled, right? And thus no special SVG support is required in Epiphany?
Yeah, exactly. If you did a mozilla build you can try to use TestGtkEmbed. If it doesnt work with that you can submit a bug to bugzilla.mozilla.org, Gtk embedding component.
Mozilla does only display svg in xhtml pages currently, not content referenced from <embed> or <object> tags; that's why the w3 svg test suite doesn't display. See http://bugzilla.mozilla.org/show_bug.cgi?id=136666.
I have tested mozilla and epiphany with the exact same svg file and epiphany doesn't display it at all. I think that this bug should reopened.
Created attachment 21740 [details] Epiphany display a blank page.
Created attachment 21741 [details] Mozilla display the same file correctly
Created attachment 21742 [details] TestGtkEmbed do SVG fine too
Reopening. The provided sample page http://www.croczilla.com/svg/polygons1.xml indeed renders in TestGtkEmbed while rendering blank in Epiphany and Galeon. With my mozilla debug build, I get those messages on console from Epiphany/Galeon multiple times: art_render_new: n_chan = 1115408, exceeds 16 max [always with the same n_chan value]
The only thing I could find in mozilla bugzilla about this is http://bugzilla.mozilla.org/show_bug.cgi?id=166469#c4
$ jhbuild run ldd /opt/gnome2/lib/mozilla-1.6b/TestGtkEmbed | grep art $ jhbuild run ldd ./epiphany-bin | grep art libart_lgpl_2.so.2 => /opt/gnome2/lib/libart_lgpl_2.so.2 (0x4041e000) $ LD_PRELOAD=/opt/gnome2/lib/mozilla-1.6b/libmoz_art_lgpl.so jhbuild run ./epiphany Started with this LD_PRELOAD, epiphany displays the svg fine. So problem exists because epiphany already links with libart_lgpl, which I think is pulled in from libgnomecanvas. [I couldn't find out why we link to libgnomecanvas, though.] Solutions anyone?
Isnt there a configure option to use system libart ?
Don't think so; iirc they depend on their modifications to libart.
See mozilla bug 119934 (http://bugzilla.mozilla.org/show_bug.cgi?id=119934). We should really be using a namespace for our customized libart so as not to conflict with the system libart.
mozilla bug
The URL field has been removed from bugzilla.gnome.org. This URL was in the old URL field, and is being added as a comment so that the data is not lost. Please email bugmaster@gnome.org if you have any questions. URL: http://www.croczilla.com/svg/polygons1.xml