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