public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: SVG plugin
Date: Mon, 15 Jun 2009 15:43:58 +0300	[thread overview]
Message-ID: <h15fmc$f6m$1@ger.gmane.org> (raw)
In-Reply-To: <358eca8f0906150530u7af6392bs7707f9095d9c2af7@mail.gmail.com>

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>




  reply	other threads:[~2009-06-15 14:05 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     ` Nikos Chantziaras [this message]
2009-06-15 14:31       ` [gentoo-user] " Kevin O'Gorman
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='h15fmc$f6m$1@ger.gmane.org' \
    --to=realnc@arcor.de \
    --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