On Mon, Jun 15, 2009 at 9:44 AM, Kevin O'Gorman<kogor...@gmail.com> wrote: > On Mon, Jun 15, 2009 at 7:31 AM, Kevin O'Gorman<kogor...@gmail.com> wrote: >> 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? > > I looked a little further. I thought it interesting that Safari could > also not view the Adobe SVG thingy. Moreover, > http://www.adobe.com/svg/viewer/install/ shows they've dropped support > for their viewer, and the most recent blurb promoting SVG relates to > Illustrator CS2, when CS4 is the current version. I have CS4, but > haven't learned to use it yet. > > Is there a future in SVG?
Also, in Firefox make sure SVG is enabled. Type "about:config" in the URL bar and look for the "svg.enabled" option. Set it to "true" if it is not already.