Re: [gentoo-user] Viewing SVG/SVGZ files.

2006-02-05 Thread Holly Bostick
Abhay Kedia schreef:

 
 Thanks for the ksvg idea and will be reall greatful if firefox worked
 as well.
 
The only thing I can thinl about this is: what version of Firefox are
you using (literally, which ebuild).

The early versions of Firefox (1.0.x to approx 1.5-r4) used the mozsvg
USE flag to enable firefox to load SVG images.

However, the Changelog says:

*mozilla-firefox-1.5-r4 (23 Dec 2005)

  23 Dec 2005; Jory A. Pratt [EMAIL PROTECTED]
  +mozilla-firefox-1.5-r4.ebuild:
  canvas and svg now default

and indeed, the mozsvg USE flag is no longer available to firefox, but
my firefox seems to render svg images fine. I tested by going to

http://www.linuxrising.org/svg_test/test.html

and opening one of the images in a new tab.

http://www.w3.org/Graphics/SVG/Test/20030813/svggen/styling-css-01-b.svg

I'm using Firefox 1.5-r9 (self-compiled, not the -bin).

So I'm not quite sure what your problem is, but it seems that it must
relate in some fashion to the specific version of FF (maybe you're using
a version that needed the USE flag, but you don't have it enabled).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Viewing SVG/SVGZ files.

2006-02-03 Thread Willie Wong
On Fri, Feb 03, 2006 at 12:52:25PM +0530, Penguin Lover Abhay Kedia squawked:
 I am using eog-2.12.2. I did not have mime-types installed thus 
 no /etc/mime.types. Now, I have emerged it but have a different problem 
 in Firefox. When I try to open svgz files it shows the following error
 --
 XML Parsing Error: not well-formed
 Location: file:///foo.svgz
 Line Number 1, Column 1:
 --
 eog doesn't change its behaviour and sits there as I explained earlier.
 
 Thanks for the ksvg idea and will be reall greatful if firefox worked as well.
 

hum... okay. I am not that familiar with eog, so can't really help
more with it. 

For firefox, I just found the following tidbit:

http://www.mail-archive.com/svg-developers@yahoogroups.com/msg07375.html

basically, svgz should be gzip'd svg files. For some reason, Firefox
cannot deal with local svgz files, but can display it when served the
correct HTTP headers from a webserver. This would explain why it
worked on my box (because I only looked at svg files on the web). 

Which means, possibly, that if you have a webserver (Apache) set up on
your box, you might be able to look at the svgz files by serving it
via http://localhost/file.svgz?

Best, 

W
-- 
It's essentially like you're pledging the physics department.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 83 days, 17:53
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Viewing SVG/SVGZ files.

2006-02-03 Thread Abhay Kedia
On Saturday 04 February 2006 07:05, Willie Wong wrote:

 For firefox, I just found the following tidbit:

 http://www.mail-archive.com/svg-developers@yahoogroups.com/msg07375.html

 basically, svgz should be gzip'd svg files. For some reason, Firefox
 cannot deal with local svgz files, but can display it when served the
 correct HTTP headers from a webserver. This would explain why it
 worked on my box (because I only looked at svg files on the web).

 Which means, possibly, that if you have a webserver (Apache) set up on
 your box, you might be able to look at the svgz files by serving it
 via http://localhost/file.svgz?

Ah...too bad. Well, I don't have a web server so I guess I'll have to just 
live with it for a time being. Thanks for looking into the problem :)
-- 
Regards,
Abhay


pgpUdVl5OOI8P.pgp
Description: PGP signature


Re: [gentoo-user] Viewing SVG/SVGZ files.

2006-02-02 Thread Abhay Kedia
On Friday 03 February 2006 12:01, Willie Wong wrote:

 For konquerer and kview, did you install ksvg?

No but now I did and it works great in KDE related things. Thanks a lot for 
this :)


 Which version of eog do you have? 2.12.2 should have support for
 image/svg+xml

 Since you have problem with svgz files in both firefox and eog, please
 check your /etc/mime.types file to make sure that both svg and svgz
 are associated with image/svg+xml.

I am using eog-2.12.2. I did not have mime-types installed thus 
no /etc/mime.types. Now, I have emerged it but have a different problem 
in Firefox. When I try to open svgz files it shows the following error
--
XML Parsing Error: not well-formed
Location: file:///foo.svgz
Line Number 1, Column 1:
--
eog doesn't change its behaviour and sits there as I explained earlier.

Thanks for the ksvg idea and will be reall greatful if firefox worked as well.

-- 
Regards,
Abhay


pgpdaVNoNnFkI.pgp
Description: PGP signature