On Fri, 27 Aug 2004, Peter Moulder wrote:
On Fri, Aug 27, 2004 at 09:45:12AM +0200, Lucas Vieites wrote:
Hi, I was just wondering, while we're waiting for Mozilla and Firefox to implement full svg support, is there any plugin available for Linux to see svg drawings inside a web page?
konqueror/ksvg is claimed to work. I haven't tried using ksvg from inside konqueror; let us know how you go.
Yeah, I use konqueror for looking at svg's. It works fairly well, although for large SVG's it doesn't provide scrollbars, which is a bit annoying. It's also a tad buggy and crashes Konqueror, although this may have been fixed in the newer version.
I haven't tested its ability to render SVG embedded in an HTML page; my gut guess is that it won't work, but who knows. For my purposes being able to browse individual svg's is enough.
Would it be very difficult to adapt the inkview code to act as a plugin and not as an external viewer?
mozplugger with mozilla may do the job:
Description: Plugin allowing external viewers to be launched inside Mozilla mozplugger allows you to seamlessly integrate external applications to view files downloaded from the web that Mozilla can not normally handle. The application is embedded within a Mozilla window as to act like and feel like a true plugin. . This allows to you view PDFs, Postscript files, animations and movies, amongst other file types all from within Mozilla (with supporting applications).
Again, I haven't tried this.
Sounds like it'd be worth an experiment.
There was also a server-side Apache mod_rsvg that I ran across a year or two ago; the guy that created it never provided it as a product but he gave me the code (GPL) if anyone's interested. It lets Apache present PNG's of SVG's on the fly - i.e., if you have a set of svg's stored on a web server, this would allow browsing them (and scaling, by passing x/y parameters, e.g. myfile.svg?x=2.00&y=2.00.
There is also a program svg2png based on the Cairo codebase that could be considered. It's a standard svg-in, png-out tool. I've experimented with it a little, and so far so good, but I haven't tried complicated svg's on it yet.
Bryce