Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: SVG plugin
Date: Mon, 15 Jun 2009 14:46:31
Message-Id: 9acccfe50906150744j4ac7d4buafb529115f1de1ef@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: SVG plugin by Kevin O'Gorman
1 On Mon, Jun 15, 2009 at 7:31 AM, Kevin O'Gorman<kogorman@×××××.com> wrote:
2 > On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras<realnc@×××××.de> wrote:
3 >> On 06/15/2009 03:30 PM, Mick wrote:
4 >>>
5 >>> 2009/6/15 Florian Philipp<lists@f_philipp.fastmail.net>:
6 >>>>
7 >>>> Mick schrieb:
8 >>>>>
9 >>>>> Hi All,
10 >>>>>
11 >>>>> Trying to view a web page I produced some yonks ago, which at that the
12 >>>>> time would utilise the Adobe SVG plugin to render a gantt chart.  The
13 >>>>> header of the file went like this:
14 >>>>> =============================================
15 >>>>> <?xml version="1.0" encoding="iso-8859-1"?>
16 >>>>> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
17 >>>>>
18 >>>>> "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
19 >>>>> <svg xml:space="preserve" width="10in" height="8in"
20 >>>>> style="font-family:'Arial';font-size:8">
21 >>>>> =============================================
22 >>>>>
23 >>>>> Adobe seem to have abandoned further development.  Any idea what I can
24 >>>>> use to render such a graphic (image/svg+xml) in a browser?
25 >>>>
26 >>>> Firefox supports svg out of the box, now. Maybe you need the svg
27 >>>> USE-flag for x11-libs/cairo.
28 >>>
29 >>> Hmm, mozilla-firefox does not have an svg flag.  Anyway, I have svg in
30 >>> my /etc/make.conf and also have cairo installed:
31 >>>
32 >>> [I] x11-libs/cairo
33 >>>
34 >>>      Installed versions:  1.8.6-r1!t(18:54:43 03/17/09)(X glitz opengl
35 >>> svg -cleartype -debug -directfb -doc -xcb)
36 >>>
37 >>> It's not just FF, but also Opera and Konqueror cannot render it either
38 >>> and ask to download a plugin.
39 >>
40 >> The code in your webpage is probably wrong.  You should just use a normal
41 >> HTML header instead of this weird "<!DOCTYPE svg" thingy you're using now.
42 >>  Embed SVG images inside the page with a PNG fallback like this:
43 >>
44 >> <object data="URL_TO_YOUR.svg" type="image/svg+xml" height="PIXELS"
45 >> width="PIXELS">
46 >>    <img src="URL_TO_YOUR.png" height="PIXELS" width="PIXELS">
47 >> </object>
48 >>
49 >>
50 >>
51 >
52 > I tried that Adobe site in FF on gentoo and ubuntu with the same
53 > non-result.  On Vista, I tried FF, Opera, Safari and IE 8, with varied
54 > forms of failure.  Interestingly, Opera at least offered to start
55 > inkscape to view the image, which succeeded.  The text on that image
56 > suggested it's specific to an adobe plugin -- which it plugs of
57 > course.
58 >
59 > Does somebody have a web page with SVGs that normal browsers with
60 > non-proprietary plugins/viewers _can_ view?
61
62 I looked a little further. I thought it interesting that Safari could
63 also not view the Adobe SVG thingy. Moreover,
64 http://www.adobe.com/svg/viewer/install/ shows they've dropped support
65 for their viewer, and the most recent blurb promoting SVG relates to
66 Illustrator CS2, when CS4 is the current version. I have CS4, but
67 haven't learned to use it yet.
68
69 Is there a future in SVG?
70
71 --
72 Kevin O'Gorman, PhD

Replies

Subject Author
Re: [gentoo-user] Re: SVG plugin Paul Hartman <paul.hartman+gentoo@×××××.com>
Re: [gentoo-user] Re: SVG plugin Daniel da Veiga <danieldaveiga@×××××.com>