public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kevin O'Gorman" <kogorman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: SVG plugin
Date: Mon, 15 Jun 2009 07:31:02 -0700	[thread overview]
Message-ID: <9acccfe50906150731k6a6c4dbh13823bdfa002e735@mail.gmail.com> (raw)
In-Reply-To: <h15fmc$f6m$1@ger.gmane.org>

On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras<realnc@arcor.de> wrote:
> On 06/15/2009 03:30 PM, Mick wrote:
>>
>> 2009/6/15 Florian Philipp<lists@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	other threads:[~2009-06-15 14:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 11:08 [gentoo-user] SVG plugin Mick
2009-06-15 11:44 ` Florian Philipp
2009-06-15 12:30   ` Mick
2009-06-15 12:43     ` [gentoo-user] " Nikos Chantziaras
2009-06-15 14:31       ` Kevin O'Gorman [this message]
2009-06-15 14:44         ` Kevin O'Gorman
2009-06-15 14:51           ` Paul Hartman
2009-06-15 15:58             ` Mick
2009-06-15 15:34           ` Daniel da Veiga
2009-06-15 16:05             ` Mick
2009-06-15 14:48         ` Paul Hartman
2009-06-15 14:57         ` Paul Hartman
2009-06-15 15:01           ` Paul Hartman
2009-06-15 16:02           ` Mick
2009-06-15 17:58             ` pk
2009-06-16 14:13           ` Kevin O'Gorman
2009-06-16 14:47             ` Paul Hartman
2009-06-16 14:51             ` Paul Hartman
2009-06-16 15:02               ` Paul Hartman
2009-06-16 20:02                 ` Mick
2009-06-16 20:19                   ` Paul Hartman
2009-06-15 13:30     ` [gentoo-user] " Florian Philipp
2009-06-15 13:58       ` Mick
2009-06-15 16:56         ` Florian Philipp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9acccfe50906150731k6a6c4dbh13823bdfa002e735@mail.gmail.com \
    --to=kogorman@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox