Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Re: SVG plugin Mick <michaelkintzios@×××××.com>