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


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

2006-02-02 Thread Willie Wong
On Fri, Feb 03, 2006 at 10:50:18AM +0530, Penguin Lover Abhay Kedia squawked:
> SVG/SVGZ in konqueror, firefox or such programs, I get weird output.
> 
> When I try to open SVGZ files in Konqueror, I get XML Parsing Error while 
> Firefox shows a pop-up to save the file some where. On using Kview, I get 
> "Unknown Image Format" while "Eye of Gnome" doesn't do anything, just sits 
> there without even throwing an error.
> 
> In case of SVG files, they open fine in Firefox and eog but in Konqueror I 
> get 
> "image/svg+xml" written on the page while kview once again complains of 
> "Unknown Image Format".
> 
For konquerer and kview, did you install ksvg?

[10:33 PM]wwong ~ $ emerge search ksvg
Searching...   
[ Results for search key : ksvg ]
[ Applications found : 1 ]
 
 *  kde-base/ksvg
   Latest version available: 3.4.3
   Latest version installed: [ Not Installed ]
   Size of downloaded files: 6,400 kB
   Homepage:http://www.kde.org/
   Description: SVG viewer library and embeddable kpart
   License: GPL-2


It seems to be required (http://svg.kde.org/) for KDE to view scalable
vector graphics. 

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.

HTH, 

W
-- 
Faye: Go ahead, Marten. I want to see how you get yourself out of
this question.
Pintsize: That is what a 404 error feels like.
Sortir en Pantoufles: up 82 days, 22:40
-- 
gentoo-user@gentoo.org mailing list