Re: [gentoo-user] Re: SVG plugin

2009-06-16 Thread Paul Hartman
On Tue, Jun 16, 2009 at 3:02 PM, Mick wrote:
> On Tuesday 16 June 2009, Paul Hartman wrote:
>> On Tue, Jun 16, 2009 at 9:51 AM, Paul
>>
>> Hartman wrote:
>> > On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gorman wrote:
>> >> On Linux, my FF showed only the embed version, and that only after I
>> >> got "NoScript" to stop blocking it.
>> >> I wonder what's different on my system.  Oh, and svg was enabled all
>> >> along.
>> >
>> > Do you guys have cairo built with the svg USE flag enabled?
>
> Yes.
>
>> > I think FF
>> > depends on that. I have "svg" in my global USE flags, FWIW.
>>
>> also check for svg USE flag on gegl
>
> Hmm, I don't have gegl emerged.  Is it needed?

I guess not :) I thought it was in the firefox dep tree but now I'm
not seeing it. I must have been looking at the wrong thing.



Re: [gentoo-user] Re: SVG plugin

2009-06-16 Thread Mick
On Tuesday 16 June 2009, Paul Hartman wrote:
> On Tue, Jun 16, 2009 at 9:51 AM, Paul
>
> Hartman wrote:
> > On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gorman wrote:
> >> On Linux, my FF showed only the embed version, and that only after I
> >> got "NoScript" to stop blocking it.
> >> I wonder what's different on my system.  Oh, and svg was enabled all
> >> along.
> >
> > Do you guys have cairo built with the svg USE flag enabled? 

Yes.

> > I think FF 
> > depends on that. I have "svg" in my global USE flags, FWIW.
>
> also check for svg USE flag on gegl

Hmm, I don't have gegl emerged.  Is it needed?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: SVG plugin

2009-06-16 Thread Paul Hartman
On Tue, Jun 16, 2009 at 9:51 AM, Paul
Hartman wrote:
> On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gorman wrote:
>> On Linux, my FF showed only the embed version, and that only after I
>> got "NoScript" to stop blocking it.
>> I wonder what's different on my system.  Oh, and svg was enabled all along.
>
> Do you guys have cairo built with the svg USE flag enabled? I think FF
> depends on that. I have "svg" in my global USE flags, FWIW.
>

also check for svg USE flag on gegl



Re: [gentoo-user] Re: SVG plugin

2009-06-16 Thread Paul Hartman
On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gorman wrote:
> On Linux, my FF showed only the embed version, and that only after I
> got "NoScript" to stop blocking it.
> I wonder what's different on my system.  Oh, and svg was enabled all along.

Do you guys have cairo built with the svg USE flag enabled? I think FF
depends on that. I have "svg" in my global USE flags, FWIW.



Re: [gentoo-user] Re: SVG plugin

2009-06-16 Thread Paul Hartman
On Tue, Jun 16, 2009 at 9:13 AM, Kevin O'Gorman wrote:
> On Mon, Jun 15, 2009 at 7:57 AM, Paul
> Hartman wrote:
>> On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gorman wrote:
>>> 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?
>>
>> http://www.w3schools.com/svg/svg_inhtml.asp
>>
>> This page has examples of 3 ways to do it (you should see blue
>> rectangles if SVG is rendering). All 3 examples work for me in Firefox
>> 3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4
>> (all on Windows). Internet Explorer 8, naturally, requires a plug-in
>> to view SVG.
>>
>>
>
> On Linux, my FF showed only the embed version, and that only after I
> got "NoScript" to stop blocking it.
> I wonder what's different on my system.  Oh, and svg was enabled all along.

After having success with every browser (but IE) on Windows, here's my
test results with the same browsers on Linux:

SeaMonkey 1.1.16 - all 3 worked

Firefox - Embed and Iframe work, but Object does not

Konqueror 4.2.4 - all 3 worked

Opera 10 beta - Embed and Iframe work, but Object does not.


I think the reason why Opera and FF do not work in "Object" mode is
because the example on the w3schools website is wrong. They use the
"codebase" attribute as the "download location for the plug-in" but
the HTML specs say "This attribute specifies the base path used to
resolve relative URIs specified by the classid, data, and archive
attributes." So, in other words,  FF and Opera are trying to load
"http://www.adobe.com/svg/viewer/install/rect1.svg"; which does not
exist, resulting in no blue rectangle. I'd be willing to bet both of
these browsers would work with an Object-tag-embed SVG given a
properly-formed example.



Re: [gentoo-user] Re: SVG plugin

2009-06-16 Thread Kevin O'Gorman
On Mon, Jun 15, 2009 at 7:57 AM, Paul
Hartman wrote:
> On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gorman wrote:
>> 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?
>
> http://www.w3schools.com/svg/svg_inhtml.asp
>
> This page has examples of 3 ways to do it (you should see blue
> rectangles if SVG is rendering). All 3 examples work for me in Firefox
> 3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4
> (all on Windows). Internet Explorer 8, naturally, requires a plug-in
> to view SVG.
>
>

On Linux, my FF showed only the embed version, and that only after I
got "NoScript" to stop blocking it.
I wonder what's different on my system.  Oh, and svg was enabled all along.

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread pk
Mick wrote:
> All three examples show a solid blue rectangle in FF and Konqueror and
> go in a terrible loop of opening more and more tabs in Opera.

You also have this:

https://developer.mozilla.org/en/SVG_in_Firefox

http://www.w3.org/Graphics/SVG/Test/20061213/

Best regards

Peter K



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Mick
2009/6/15 Daniel da Veiga :

> AFAIK, SVG has a future. Adobe's SVG, on the other hand, seems broken.
> My router firmware (Tomato) uses SVG for graphics and everything work
> fine on Firefox. That SVG example from Adobe's site doesn't work. You
> can safely assume they're using SVG in a way only THEIR plugin would
> read.
>
> Reminds me of PDF, where Adobe completely broke standards, I have
> some PDFs that every other PDF Reader I could install, even online
> standalone apps can read, but Adobe Acrobat can't, and it yells the
> file is broken

Hmm, there must be some truth in this, because the Adobe test page
shows OK in MSWindows, but not in Linux.  On the other hand the
w3schools examples show fine in Linux.

Thank you all for your help.
-- 
Regards,
Mick



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Mick
2009/6/15 Paul Hartman :
> On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gorman wrote:
>> 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?
>
> http://www.w3schools.com/svg/svg_inhtml.asp
>
> This page has examples of 3 ways to do it (you should see blue
> rectangles if SVG is rendering). All 3 examples work for me in Firefox
> 3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4
> (all on Windows). Internet Explorer 8, naturally, requires a plug-in
> to view SVG.

All three examples show a solid blue rectangle in FF and Konqueror and
go in a terrible loop of opening more and more tabs in Opera.
-- 
Regards,
Mick



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Mick
2009/6/15 Paul Hartman :

> 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.

It was set to true, but will not render (in Linux)

-- 
Regards,
Mick



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Daniel da Veiga
On Mon, Jun 15, 2009 at 11:44, Kevin O'Gorman wrote:
> On Mon, Jun 15, 2009 at 7:31 AM, Kevin O'Gorman wrote:
>> On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras wrote:
>>> On 06/15/2009 03:30 PM, Mick wrote:

 2009/6/15 Florian Philipp:
>
> 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:
>> =
>> 
>> >
>> "http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-stylable.dtd";>
>> > 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 ">>  Embed SVG images inside the page with a PNG fallback like this:
>>>
>>> >> width="PIXELS">
>>>    
>>> 
>>>
>>>
>>>
>>
>> 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?
>

AFAIK, SVG has a future. Adobe's SVG, on the other hand, seems broken.
My router firmware (Tomato) uses SVG for graphics and everything work
fine on Firefox. That SVG example from Adobe's site doesn't work. You
can safely assume they're using SVG in a way only THEIR plugin would
read.

Reminds me of PDF, where Adobe completely broke standards, I have
some PDFs that every other PDF Reader I could install, even online
standalone apps can read, but Adobe Acrobat can't, and it yells the
file is broken

-- 
Daniel da Veiga



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Paul Hartman
On Mon, Jun 15, 2009 at 9:57 AM, Paul
Hartman wrote:
> http://www.w3schools.com/svg/svg_inhtml.asp
>
> This page has examples of 3 ways to do it (you should see blue
> rectangles if SVG is rendering). All 3 examples work for me in Firefox
> 3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4
> (all on Windows). Internet Explorer 8, naturally, requires a plug-in
> to view SVG.

Slight correction - the object tag did not work on Opera, but the
other 2 techniques did work. Everything worked in every other browser
(except IE, where nothing worked).



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Paul Hartman
On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gorman wrote:
> 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?

http://www.w3schools.com/svg/svg_inhtml.asp

This page has examples of 3 ways to do it (you should see blue
rectangles if SVG is rendering). All 3 examples work for me in Firefox
3.0.11, Seamonkey 1.1.16, Opera 9.64, Konqueror 4.2.3 and Safari 4
(all on Windows). Internet Explorer 8, naturally, requires a plug-in
to view SVG.



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Paul Hartman
On Mon, Jun 15, 2009 at 9:31 AM, Kevin O'Gorman wrote:
> On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras wrote:
>> On 06/15/2009 03:30 PM, Mick wrote:
>>>
>>> 2009/6/15 Florian Philipp:

 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:
> =
> 
> 
> "http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-stylable.dtd";>
>  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 ">  Embed SVG images inside the page with a PNG fallback like this:
>>
>> > width="PIXELS">
>>
>> 
>>
>>
>>
>
> 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?

http://www.w3schools.com/svg/svg_examples.asp

All work fine for me in SeaMonkey



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Paul Hartman
On Mon, Jun 15, 2009 at 9:44 AM, Kevin O'Gorman wrote:
> On Mon, Jun 15, 2009 at 7:31 AM, Kevin O'Gorman wrote:
>> On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras wrote:
>>> On 06/15/2009 03:30 PM, Mick wrote:

 2009/6/15 Florian Philipp:
>
> 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:
>> =
>> 
>> >
>> "http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-stylable.dtd";>
>> > 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 ">>  Embed SVG images inside the page with a PNG fallback like this:
>>>
>>> >> width="PIXELS">
>>>
>>> 
>>>
>>>
>>>
>>
>> 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.



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Kevin O'Gorman
On Mon, Jun 15, 2009 at 7:31 AM, Kevin O'Gorman wrote:
> On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras wrote:
>> On 06/15/2009 03:30 PM, Mick wrote:
>>>
>>> 2009/6/15 Florian Philipp:

 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:
> =
> 
> 
> "http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-stylable.dtd";>
>  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 ">  Embed SVG images inside the page with a PNG fallback like this:
>>
>> > width="PIXELS">
>>    
>> 
>>
>>
>>
>
> 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?

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Re: SVG plugin

2009-06-15 Thread Kevin O'Gorman
On Mon, Jun 15, 2009 at 5:43 AM, Nikos Chantziaras wrote:
> On 06/15/2009 03:30 PM, Mick wrote:
>>
>> 2009/6/15 Florian Philipp:
>>>
>>> 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:
 =
 
 >>>
 "http://www.w3.org/TR/2000/03/WD-SVG-2303/DTD/svg-2303-stylable.dtd";>
 >>> 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 "  Embed SVG images inside the page with a PNG fallback like this:
>
>  width="PIXELS">
>    
> 
>
>
>

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