On Sun, Feb 23, 2003 at 05:49:22PM +0100, gabor wrote:
> hi,
> 
> what do you use to view svg images?
> 
> i tried mozilla... it showed it as a xml file....
> i tried konqueror.. it doesn't want to open it, BUT HE IS ABLE TO
> GENERATE A THUMBNAIL PICTURE... i don't get it
> sodipodi is kind of capable of opening it, but it seems like overkill
> for me... i only want to open it

   I've used Nautilus myself, though that is also overkill.  I couldn't get
the Adobe SVG plugin to work; it would crash Mozilla right away.  I believe
it's one of the 'compiled with different versions of GCC' sort of bugs, and
since the Adobe plugin is precompiled, there's not a lot you can do about
it.  the Bugzilla site simply suggests using a more recent Mozilla that has
SVG built in.

   One thing you might find (with the 'can generate a thumbnail, but not
open the image' issue), and a problem I had, is that an SVG image generated
for a web browser sometimes starts with something like:
   <svg xml:space="preserve"
      width="100%" height="100%"
      viewBox="0 0 2000 2000">

   While I'm no expert on SVG or XML, I suspect the '100%' values are to
ensure the image starts off taking up the entire viewBox assigned to it in
the browser.  However, Nautilus at least doesn't pre-assign a viewBox size,
and thus can't handle the '100%' value.  To get some of these SVG images to
show up in Nautilus, I had to manually edit the XML to give real values to
the primary width and height variables (values I took from the 'viewBox'
declaration, so in this case I had 'width="2000" height="2000"').  I could
then view the image without trouble, though I had to zoom out to see most
of it.

---------------------------+---------------------------------------------------
Bryan Feir           VA3GBF|"This Santa Claus business is played out.  It's a
Home:[EMAIL PROTECTED]   | sneaking, underhand method, and the sooner it's
                           | exposed the better."     -- Stephen Leacock
---------------------------+---------------------------------------------------

--
[EMAIL PROTECTED] mailing list

Reply via email to