After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111123 - Epiphany doesn't display SVGs
Epiphany doesn't display SVGs
Status: RESOLVED WONTFIX
Product: epiphany
Classification: Core
Component: [obsolete] Backend:Mozilla
unspecified
Other Linux
: Low normal
: ---
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2003-04-18 23:42 UTC by axxackall
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Epiphany display a blank page. (112.03 KB, image/png)
2003-11-24 01:39 UTC, Alexandre Jasmin
Details
Mozilla display the same file correctly (117.53 KB, image/png)
2003-11-24 01:40 UTC, Alexandre Jasmin
Details
TestGtkEmbed do SVG fine too (13.22 KB, image/png)
2003-11-24 01:49 UTC, Alexandre Jasmin
Details

Description axxackall 2003-04-18 23:42:33 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.
Comment 1 Marco Pesenti Gritti 2003-04-19 08:47:16 UTC
Was the mozilla you compiled epiphany with, supporting SVG ? This
looks like a mozilla embedding bug.
Comment 2 axxackall 2003-04-19 15:24:46 UTC
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?
Comment 3 Marco Pesenti Gritti 2003-04-19 15:31:06 UTC
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.
Comment 4 Christian Persch 2003-10-30 20:43:06 UTC
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.
Comment 5 Alexandre Jasmin 2003-11-24 01:38:54 UTC
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.
Comment 6 Alexandre Jasmin 2003-11-24 01:39:54 UTC
Created attachment 21740 [details]
Epiphany display a blank  page.
Comment 7 Alexandre Jasmin 2003-11-24 01:40:57 UTC
Created attachment 21741 [details]
Mozilla display the same file correctly
Comment 8 Alexandre Jasmin 2003-11-24 01:49:45 UTC
Created attachment 21742 [details]
TestGtkEmbed do SVG fine too
Comment 9 Christian Persch 2003-11-24 07:31:28 UTC
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]
Comment 10 Christian Persch 2003-11-24 07:36:32 UTC
The only thing I could find in mozilla bugzilla about this is
http://bugzilla.mozilla.org/show_bug.cgi?id=166469#c4
Comment 11 Christian Persch 2003-11-24 07:46:56 UTC
$ 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?
Comment 12 Marco Pesenti Gritti 2003-11-24 13:16:54 UTC
Isnt there a configure option to use system libart ?
Comment 13 Christian Persch 2003-11-25 14:21:12 UTC
Don't think so; iirc they depend on their modifications to libart.
Comment 14 Benjamin Smedberg 2003-11-25 18:44:51 UTC
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.
Comment 15 Marco Pesenti Gritti 2004-01-26 19:53:44 UTC
mozilla bug
Comment 16 Bugzilla Maintainers 2004-04-01 23:44:57 UTC
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