On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras<rea...@arcor.de> wrote:
> On 06/15/2009 03:30 PM, Mick wrote:
>>
>> 2009/6/15 Florian Philipp<li...@f_philipp.fastmail.net>:
>>>
>>> Mick schrieb:
>>>>
>>>> Hi All,
>>>>
>>>> Trying to view a web page I produced some yonks ago, which at that the
>>>> time would utilise the Adobe SVG plugin to render a gantt chart.  The
>>>> header of the file went like this:
>>>> =============================================
>>>> <?xml version="1.0" encoding="iso-8859-1"?>
>>>> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
>>>>
>>>> "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd";>
>>>> <svg xml:space="preserve" width="10in" height="8in"
>>>> style="font-family:'Arial';font-size:8">
>>>> =============================================
>>>>
>>>> Adobe seem to have abandoned further development.  Any idea what I can
>>>> use to render such a graphic (image/svg+xml) in a browser?
>>>
>>> Firefox supports svg out of the box, now. Maybe you need the svg
>>> USE-flag for x11-libs/cairo.
>>
>> Hmm, mozilla-firefox does not have an svg flag.  Anyway, I have svg in
>> my /etc/make.conf and also have cairo installed:
>>
>> [I] x11-libs/cairo
>>
>>      Installed versions:  1.8.6-r1!t(18:54:43 03/17/09)(X glitz opengl
>> svg -cleartype -debug -directfb -doc -xcb)
>>
>> It's not just FF, but also Opera and Konqueror cannot render it either
>> and ask to download a plugin.
>
> The code in your webpage is probably wrong.  You should just use a normal
> HTML header instead of this weird "<!DOCTYPE svg" thingy you're using now.
>  Embed SVG images inside the page with a PNG fallback like this:
>
> <object data="URL_TO_YOUR.svg" type="image/svg+xml" height="PIXELS"
> width="PIXELS">
>    <img src="URL_TO_YOUR.png" height="PIXELS" width="PIXELS">
> </object>
>
>
>

I tried that Adobe site in FF on gentoo and ubuntu with the same
non-result.  On Vista, I tried FF, Opera, Safari and IE 8, with varied
forms of failure.  Interestingly, Opera at least offered to start
inkscape to view the image, which succeeded.  The text on that image
suggested it's specific to an adobe plugin -- which it plugs of
course.

Does somebody have a web page with SVGs that normal browsers with
non-proprietary plugins/viewers _can_ view?

-- 
Kevin O'Gorman, PhD

Reply via email to