Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Major Step Forward For SVG in the Desktop

Posted by Hemos on Mon Feb 03, 2003 08:00 AM
from the moving-things-along dept.
Ur@eus writes "SVG the w3c format for Scalable Vector Graphics is seen as many as the future of desktop icons as it allows for scaling icons etc. without loss of quality. Dominic Lachowicz has been working hard on fixing bugs in librsvg over the last few days. The result is that librsvg now renders all available SVG icons perfectly. Not only do it render them, but it renders them faster than libpng renders the same images in png format. Together with the gdkpixbuf plugin librsvg offer it means GNOME 2.2 will be able to use SVG images not only for icons or desktop backgrounds, but also for the GUI widgets themselves and the graphics of the window manager. Dom's announcement can be found on the librsvg mailinglist. The librsvg site also offer a GNOME 2.2 metatheme using mostly SVG icons including a nice screenshot."
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • odd by pummer (Score:2) Monday February 03 2003, @08:02AM
    • Re:odd (Score:5, Insightful)

      by jordan_a (139457) on Monday February 03 2003, @08:10AM (#5214770)
      Icons are only a small part of what SVG Graphics are about. However being the most common images used on the desktop it is a logical starting point for SVG graphics.
      [ Parent ]
      • Re:odd by KDan (Score:1) Monday February 03 2003, @08:19AM
        • Re:odd by jordan_a (Score:1) Monday February 03 2003, @09:40AM
        • Re:odd by Sparr0 (Score:2) Monday February 03 2003, @01:09PM
    • Re:odd by olethrosdc (Score:2) Monday February 03 2003, @08:20AM
    • Re:odd (Score:5, Interesting)

      by Proc6 (518858) on Monday February 03 2003, @08:20AM (#5214826)
      Well dummy, its like this. The higher resolution the display you get, the finer detail images and video (some day) can get. Buuuut... the harder it is to see windows elements of fixed size. (icons) I run 1920x1200 on a flat panel, and when my father sits down in front of it, he has to squint to read the text and see the icons on the desktop. Ever seen 1600x1200 on a Dell Latitude notebook? Go find the IBM QUXGA 22" LCD panel that does something like 5000x3000 and tell me how big the icons on the desktop are. Its like clicking on dust.

      SGI's Indigo Magic desktop has done scalable vector icons forever, and its beautiful. Not only can you set the standard icon size but they put a handy thumbwheel in the "explorer" window to let you zoom in and out of your files.

      Don't knock it till you've tried it. :)

      [ Parent ]
      • Re:odd by brother rat (Score:1) Monday February 03 2003, @10:11AM
      • Re:odd (Score:5, Insightful)

        by Lucas Membrane (524640) on Monday February 03 2003, @10:38AM (#5215556)
        I'm a little ahead of the baby boom, so my eyes are a little worse than those of most people, but they are catching up. This is something that is long overdue and will be most valuable or just about essential as the demographic bulge moves into its later years. We can't go on creating every UI like it was designed by a 22-year-old with no idea that vision doesn't deteriorate for some of us. It's just about criminal that if you are having trouble reading the screen and go out and buy a better, higher-resolution monitor, everything gets harder to read.
        [ Parent ]
        • 1 reply beneath your current threshold.
      • Re:odd by Proc6 (Score:2) Monday February 03 2003, @09:56AM
      • 1 reply beneath your current threshold.
    • Improvement for visually impared by dnoyeb (Score:2) Monday February 03 2003, @12:29PM
    • 1 reply beneath your current threshold.
  • Just more OSX themes. by Sh0t (Score:2) Monday February 03 2003, @08:03AM
  • This is a great thing!!! (Score:5, Insightful)

    by md17 (68506) <james.jamesward@org> on Monday February 03 2003, @08:06AM (#5214749) Homepage
    Great work librsvg team!!! I look forward to the day when there is no more Flash because SVG is so well supported. SVG: XML based, open standard, w3c backed, blah, blah. I love it! SVG is the ISH!
  • Alright! by worst_name_ever (Score:1) Monday February 03 2003, @08:08AM
    • Re:Alright! by TheSunborn (Score:1) Monday February 03 2003, @11:48AM
    • 1 reply beneath your current threshold.
  • Stateful Icons? (Score:5, Interesting)

    by Masem (1171) on Monday February 03 2003, @08:08AM (#5214758)
    Could this also be used to build 'icons' with stateful representations of the objects they are supposed to represent? For example, instead of just 'empty' and 'full' for Trash/Recycle, could you have folders icons that have 'empty', 'sparse', 'full', and 'stuffed'? Or icons that reflect the read/write nature of the folder with respect to the user? Or even more down the road, icons that aren't pointing directly to files/folders but as system objects (as say down the /dev tree), such as a clock, a CPU meter, etc...? Yes, we have that functionality through many means, such as WM's dockapps, or by using shaped windows to simulate that. But if you look at the Mac OS X Dock, or the various things you can do with ObjectDesktop by StarDock systems on the Windows side, they reflect the ideas that I'm thining about here. Sure, it's nice to have, in WM , the status of my system along the right side easy to see, but I'd like it better if I could have a better control over how those are appearing on my desktop, and if I could make them true icons, draggable and placable whereever I want, that would be great.

    Even more so, using XML and SVG, it would be very easy to create additional icons without a lot of programming behind it. You may need to a SAX reader to take the stateful information into some form, but after that, it's just XSLT transformations into SVG, and voila, you have an easy way to make cool meters/icons.

    • Re: Stateful Icons? (Score:5, Informative)

      by Anonymous Coward on Monday February 03 2003, @08:17AM (#5214808)
      This functionality is already in Nautilus. They're called emblems. You have read-only emblems, Music Folder emblems, etc. It supports both PNG and SVG emblems.

      Maybe Konq has this too, but i haven't used it in i-dont-know-how-many years, so i dunno if it does.
      [ Parent ]
      • Re: Stateful Icons? (Score:4, Interesting)

        by Textbook Error (590676) on Monday February 03 2003, @08:33AM (#5214884)
        Same idea in Mac OS X - which calls them "badges". The API lets you composite one icon reference on top of another and draw it as a single entity (or to find out if an icon reference is actually a composite).

        Personally I suspect there's not a great deal of point in making icons vector: 128x128x32 with a decent scaling algorithm (and an optional set of pre-scaled images at smaller sizes) seems to cover pretty much everything. At least for the tasks icons are typically used for. Anything larger than 128x128 is turning into a picture rather than an icon (yeah, you could use the same format for both, but why bother - 99% of the time an icon is just blitted to the screen or used for hit testing, both of which an 32-bit pixmap is ideal for).
        [ Parent ]
        • Re: Stateful Icons? by jorleif (Score:1) Monday February 03 2003, @08:58AM
          • Re: Stateful Icons? (Score:5, Insightful)

            by Ed Avis (5917) <ed@membled.com> on Monday February 03 2003, @09:16AM (#5215064) Homepage
            It's a step towards what we should have had long ago: a desktop where you don't need to know what resolution it's running at, things are just scaled to the correct size. It's crazy that changing to a higher resolution display (eg from 800x600 to 1024x768 on the same monitor) makes all the window decorations and icons smaller. Fonts are supposed to remain the same size, but often they don't.

            Obviously for really low resolutions the scale might need to be increased to keep things readable, but a 3200x2400 desktop should look identical to 800x600 except for increased sharpness and detail. (You can still choose really tiny icons if you want them, of course.)
            [ Parent ]
            • Re: Stateful Icons? by JohnFluxx (Score:2) Monday February 03 2003, @10:54AM
            • Re: Stateful Icons? by Quazion (Score:3) Monday February 03 2003, @11:05AM
              • Re: Stateful Icons? (Score:5, Informative)

                by Fastolfe (1470) <david@fastolfe.net> on Monday February 03 2003, @11:11AM (#5215702) Homepage
                The reason you get more room isn't because you've changed resolutions, it's because at higher resolutions, your display elements (GUI, fonts, etc.) shrink in size, thus making room for more stuff.

                In a vector world, if you wanted more space on your desktop, you wouldn't change resolutions (ideally, you'd already be at the highest resolution your hardware supported), you would explicitly shrink your display elements (GUI, fonts, etc.) so they consumed less space. (Or get another monitor.)

                And who knows, once everything's done with vectors, your GUI might grow and shrink the size of active/active windows ("zoom") to give you all the room you need. MacOS X already does something similar with its task bar.
                [ Parent ]
              • Re: Stateful Icons? by gottabeme (Score:1) Monday February 03 2003, @05:21PM
              • Re: Stateful Icons? by Fastolfe (Score:1) Monday February 03 2003, @05:43PM
              • Re: Stateful Icons? by Quazion (Score:1) Monday February 03 2003, @07:09PM
            • Check out Fresco by kentyman (Score:2) Monday February 03 2003, @02:33PM
            • Re: Stateful Icons? by spitzak (Score:2) Monday February 03 2003, @02:46PM
          • Re: Stateful Icons? by Lussarn (Score:2) Monday February 03 2003, @10:11AM
        • Re: Stateful Icons? (Score:5, Insightful)

          by IamTheRealMike (537420) on Monday February 03 2003, @09:13AM (#5215048) Homepage
          Personally I suspect there's not a great deal of point in making icons vector: 128x128x32 with a decent scaling algorithm (and an optional set of pre-scaled images at smaller sizes) seems to cover pretty much everything.

          Covers everything at this time. Max resolutions have gone up year on year, but most people don't use the full capabilities of their card/monitor because the screen elements become too small. So having a resolution independant desktop would be a good way of solving that issue (though obviously you still get these issues with the web).

          [ Parent ]
        • Re: Stateful Icons? by Gordonjcp (Score:2) Monday February 03 2003, @09:29AM
        • Re: Stateful Icons? (Score:5, Interesting)

          by ajs (35943) <ajs@aj[ ]om ['s.c' in gap]> on Monday February 03 2003, @09:58AM (#5215338) Homepage
          The main reason to do this is rendering speed. Storage size is also smaller, but really you care about the rendering speed of having 5 apps open, all of which use dozens of icons (I'm running galeon, and I count 16 icons in it alone... galeon tends to be light-weight when it comes to baubles compared to say, a spreadsheet).

          People complain that GNOME and KDE are memory-hogs and slow, but realistically, most of the overhead is in things like pixmap storage (not going to go away with SVG or PNG, since both have to be rendered down to an X Pixmap). Beyond that, you have to start hacking away at every bit of performance and memory use you can find. This is one such.

          I assume that KDE already has or is working on SVG too. It's a logical step. Heck, they *could* just use this lib if they don't already have one.
          [ Parent ]
        • Re: Stateful Icons? by SideEffects (Score:1) Monday February 03 2003, @01:05PM
        • Re: Stateful Icons? by Anonym0us Cow Herd (Score:2) Monday February 03 2003, @05:47PM
        • 1 reply beneath your current threshold.
      • Re: Stateful Icons? by Speare (Score:3) Monday February 03 2003, @06:11PM
      • 1 reply beneath your current threshold.
    • Re:Stateful Icons? by jonr (Score:3) Monday February 03 2003, @08:47AM
    • Re:Stateful Icons? by tigersha (Score:1) Monday February 03 2003, @09:27AM
    • Re:Stateful Icons? by Tokerat (Score:2) Monday February 03 2003, @09:45AM
    • Re:Stateful Icons? by smallpaul (Score:2) Monday February 03 2003, @10:13AM
  • Expanding Complexity by amigaluvr (Score:1) Monday February 03 2003, @08:09AM
    • Re:Expanding Complexity (Score:4, Insightful)

      by gmuslera (3436) <gmuslera@@@gmail...com> on Monday February 03 2003, @08:26AM (#5214849) Journal
      Suppose you want your desktop to look in some specific way, without worrying about resolution. If you have a big monitor and/or an extra-high resolution maybe your standard sized icons will look very small, and, in the other hand, they could look pixelated if they are "standard" icons magnified.

      With this you have icons that looks good and in the same aparent size in any resolution
      [ Parent ]
    • Re:Expanding Complexity (Score:5, Interesting)

      by tjwhaynes (114792) on Monday February 03 2003, @08:38AM (#5214899)

      I don't see that it makes much sense. after all 16x16 or 32x33 icons have been around fr a long time. they're even-byte things and easy to handle. and they're quick

      And so are SVG icons - a lot of the current SVG icons are quick to load (requiring considerably less memory to describe the icon than PNG) and quick to draw with this fast renderer. But that is ignoring the most useful part of describing your screen using vectors, splines, etc. - rescalability. We're all used to being able to switch monitors with different DPI and still have the same physical size font on the screen (so that 10 pt is 10/72 inch high regardless of screen dpi) and it's useful to be able to have icons which behave in the same way.

      isn''t a desktop all about making a useful user experience? if I wanted gigantic icons I'd have gigantic icons, and I don't. It seems like extra complexity just for a coding exercise.

      For people with normal eyesight, standard 16x16 or 32x32 icons are going to be fine. If you suffer from poor eyesight, being able to have fonts and icons at say 4x magnification is extremely useful. And a big part of the GNOME2 architecture is strongly accessibility orientated so this is a useful part of the puzzle.

      Cheers,
      Toby Haynes

      [ Parent ]
      • Session Migration (Score:5, Insightful)

        by msobkow (48369) on Monday February 03 2003, @09:30AM (#5215171) Journal

        I'm surprised no one has mentioned a key benefit of SVG desktops: session migration.

        Ever notice how primitive systems like WinXX have some serious layout problems with a network login user moving from their "usual" 1280x1024 desktop to a temporary workstation that is set for 800x600? The icons get repositioned to be visible, destroying any custom layout the user had -- and that is assuming they were all in the upper/left of the screen. Heaven forbid the user had bothered with placing any of them on the right hand edge of their screen!

        Deploying a "thin client" desktop is even worse, as you need to be able to scale the virtual desktop to fit the physical screen being used at the time. As PCs become more innocuous (think payphones), it will be natural for people to expect to have an identical session no matter what they are using to link with their home server session.

        Sure we're still 5-10 years from the point where those facilities are "needed", but without a solid foundation in place we can't even think about deploying those kind of systems efficiently.

        [ Parent ]
      • 1 reply beneath your current threshold.
    • Re:Expanding Complexity by skington (Score:1) Monday February 03 2003, @08:54AM
    • Re:Expanding Complexity by TheRaven64 (Score:1) Monday February 03 2003, @09:37AM
    • 1 reply beneath your current threshold.
  • OS X by troc (Score:1) Monday February 03 2003, @08:09AM
    • Re:OS X (Score:5, Insightful)

      by scrutty (24640) on Monday February 03 2003, @08:13AM (#5214787) Homepage
      No, it has nice pretty icons and lots of scalable effects, but the icons are just scaleable pixmaps.

      However the entire quartz graphics subsystem supports all sorts of vector based operations and translations. Its a lot of fun to play with. Look at all of the shrunken window effects.

      [ Parent ]
    • Re:OS X by amigaluvr (Score:1) Monday February 03 2003, @08:14AM
    • Re:OS X by neonstz (Score:1) Monday February 03 2003, @08:14AM
    • Re:OS X by Anonymous Coward (Score:1) Monday February 03 2003, @08:20AM
      • Re:OS X by ActiveSX (Score:2) Monday February 03 2003, @09:17AM
    • 1 reply beneath your current threshold.
  • great lib name (Score:5, Funny)

    gdkpixbuf

    That looks like someone headbutted the keyboard...
  • Mac OS X by Fulkkari (Score:1) Monday February 03 2003, @08:13AM
    • Re:Mac OS X by demon (Score:1) Monday February 03 2003, @07:37PM
    • Re:Mac OS X by Fulkkari (Score:1) Monday February 03 2003, @09:27AM
      • 1 reply beneath your current threshold.
    • 2 replies beneath your current threshold.
  • I just don't care! by 10Ghz (Score:1) Monday February 03 2003, @08:16AM
    • Re:I just don't care! (Score:5, Insightful)

      by realnowhereman (263389) <andyparkinsNO@SPAMgmail.com> on Monday February 03 2003, @08:26AM (#5214851)
      And I want mine to be the same size regardless of my screen resolution. So I'll be happy and you can still use bitmaps.

      Bloody hell - there is "the glass is half empty" and then there's "I hate glasses and really don't see what use they are to me or the rest of the planet".
      [ Parent ]
      • Re:I just don't care! (Score:5, Insightful)

        by Atzanteol (99067) on Monday February 03 2003, @09:08AM (#5215017) Homepage
        Bloody hell - there is "the glass is half empty" and then there's "I hate glasses and really don't see what use they are to me or the rest of the planet".
        I couldn't have put it better myself. Have you noticed the massive influx of people with a "New technology? Bah!" attitude? Every time someone develops something new there's one idiot with a "My aunt Tilly doesn't use it, so I don't see how it could be of use for anybody." attitude.

        I am not your aunt Tilly people!
        [ Parent ]
        • 1 reply beneath your current threshold.
    • Re:I just don't care! by DarkBlack (Score:1) Monday February 03 2003, @08:27AM
    • Re:I just don't care! by Anonymous Coward (Score:1) Monday February 03 2003, @08:31AM
    • Re:I just don't care! (Score:5, Interesting)

      by Sayjack (181286) on Monday February 03 2003, @08:32AM (#5214876) Homepage
      Yes, but wouldn't it be nice to have more scaling choices than large/medium/small? There's more to SVG than just scaling graphics anyhow. Serialization is another goal of svg, hence you may be seeing the beginnings of webservices dedicated to serving up icons, animations, etc... XML and it's cooperative technologies are evolving rapidly.
      SVG puts powerful non-proprietary (bye bye gif) graphics capabilities in the hands of the xml architect. It fills a necessary gap in the XML arsenal. As the other technologies evolve, it's benefits will become more readily apparent. Imagine an XSL transform capable of transforming an XML document containing data into a graphical representation of itself...

      Programmable content can be embedded as well in the form of applets and XHTML objects. Apache's Batik project is a good example of what you can achieve. Batik can be found here [apache.org].
      [ Parent ]
    • Fat Icons BIG business by oliverthered (Score:1) Monday February 03 2003, @08:35AM
    • 'half-blind' (Score:5, Interesting)

      by Big Sean O (317186) on Monday February 03 2003, @09:13AM (#5215049) Homepage
      Funny how you mention half-blind.

      SVG is one of the few 'imaging technologies' that has very good support for accessibility. Each drawn object can have a title and a description, so whereas you see a "stuffed garbage can", the braille user-agent would output the desc text: "Garbage Can containing more than 1 MB of trash".

      SVG could also be used for an org charts, and instead of having a long 'alt' tag would probably be out of sync with the 'gif', the blind user would be able to read the contents of each box, and depending on how the SVG is structured (with groups and defs), even get an idea of how the boxes are related.

      Also, SVG supports CSS, so you can have different stylesheets for different media (screen, printer, cell-phone-screen, and even braille and audio).

      As far as an imaging technology goes, since it's just another XML format, you can grab an XML document (say in the Weather Observation Markup Format) and use XSLT to output a nice SVG graphic showing the weather. (In fact, that's one of the example used in O'Reilly's SVG Essentials [oreilly.com]).

      I've just started using SVG (with Python) as a way to transform map data from the US Govt and make nice little SVG maps for my browser (kind of like a hand-rolled Mapquest).

      Programmers familiar with XML will be able to make some neat (albeit very ugly) stuff. Designers who know the fancier drawing tools will be able to make some pretty nice-looking stuff. Put 'em together and you can have some nice smart graphics. Will it replace flash? Who knows.
      [ Parent ]
    • Re:I just don't care! by BigJimSlade (Score:2) Monday February 03 2003, @09:29AM
    • Re:I just don't care! by bwt (Score:3) Monday February 03 2003, @10:42AM
    • Re:I just don't care! by iabervon (Score:2) Monday February 03 2003, @11:04AM
    • Re:I just don't care! by doubleyewdee (Score:3) Monday February 03 2003, @10:08AM
    • 1 reply beneath your current threshold.
  • Too late by KhanReaper (Score:1) Monday February 03 2003, @08:16AM
    • Re:Too late by trtmrt (Score:1) Monday February 03 2003, @08:21AM
    • Re:Too late by protomala (Score:2) Monday February 03 2003, @08:26AM
      • Re:Too late (Score:4, Informative)

        by tackat (133183) on Monday February 03 2003, @08:40AM (#5214909)
        KDE in it's CVS version for KDE 3.0 was able to render .svgz (gzip-compressed svg's) in realtime as well (to be more exact: all crystal icons that existed up to that time) the feature has been disabled mostly due to maintainance issues and due to the fact that it was meant to be used for the default icon set. As the stuff hadn't been tested thoroughly until then and as it was only finished right for the last beta we postponed it for 3.2. Another reason was that the icon set wasn't in a final state.

        So although almost all icons in kdelibs are rendered using svgz files you have to invoke kde2png explicetly to create larger pixmaps from svgz's.
        [ Parent ]
        • Re:Too late by protomala (Score:1) Monday February 03 2003, @10:48AM
          • 1 reply beneath your current threshold.
    • Re:Too late by Ur@eus (Score:2) Monday February 03 2003, @08:44AM
    • This is a pure troll by GauteL (Score:2) Monday February 03 2003, @08:49AM
    • And GNOME significantly predates that (Score:5, Informative)

      by 0x0d0a (568518) on Monday February 03 2003, @08:49AM (#5214941) Journal
      GNOME's been doing SVG icons for a long time -- this is an evolutionary improvement. This is another area in which it took quite a while for KDE to catch up, not GNOME.

      I wonder if KDE is using libsrvg to render the icons, as opposed to some Qt stuff. If so, both environments will immediately benefit.
      [ Parent ]
  • by Anonymous Coward on Monday February 03 2003, @08:16AM (#5214802)
    Jeeeze, just reading a few of the first posts on here you'd think that SVG icons were the end of the world. Nothing could be farther from the truth...

    One of the big reasons I like OSX (and I do not own a Mac, FYI) are the scalable vector icons. We've had vector based fonts for quite some time and you'd be hard pressed to find anybody out there who would rally against the scourge of vector fonts. For crying out loud... I believe it's KDE that has font anti-aliasing. I am sure we all have seen WindowsXP's "clear type" font smoothing. Anti-aliased fonts work pretty damn well and look absolutely super!

    Having the same capability with something as lowly as desktop icon is amazing! The next logical step is UI widgets and other elements of the desktop.

    As more and more LCD and other high-quality displays become the norm (many laptops feature 1400x1050 or 1600x1200 displays these days), not only are scalable fonts and UI widgets neccessary, there is an inherent human aspect to having a computer interface with the same perceived clarity of the real world.

    I think this is a fantastic implementation of vector graphics. I only hope that we can soon have entire UI's based around scalable graphics as well.
  • by image (13487) on Monday February 03 2003, @08:19AM (#5214814) Homepage
    Right after OSX came out, I remember downloading a GTK and Gnome theme for my Linux box that copied the look, if not feel, of OSX. If I recall correctly, that theme was yanked by Apple's lawyers.

    Since then I've started running a OSX box as well, and have to admit that I like the look.

    Now I wonder -- would it be copyright infringement to write a script that extracted all of the SVG icons from a MacOSX box, copy them to a GTK theme directory, and run them on Linux? Thus the distributed theme itself wouldn't have any of the Apple look -- it would simply have the skeleton. The actual artwork would be copied by the end user in the privacy of their own home or office directly off a OSX box.

    The second possibility for this is to be able to run, with almost the exact same look, GTK/Gnome apps on directly on OSX (Apple's release of X11 really is amazingly well done, btw). The X11 integration still wouldn't be perfect of course (apps still have a hard time mimizing to the Dock), but it would be a visual improvement. Or even integrate the ability to search a file's resources to get the SVG icon and display it in Nautilus by default.

    In any case, librsvg sounds very promising. I'm impressed.
  • the end of diferences? by protomala (Score:2) Monday February 03 2003, @08:19AM
  • Finally, great news for users :) (Score:5, Interesting)

    by CheeseCow (576966) on Monday February 03 2003, @08:21AM (#5214830) Homepage
    This is excellent news. After getting a new monitor that does 1600x1200, I found those tiny icons a bit hard to click at times. But now, I can run whatever resolution I want, and the icons will just look better & better.

    Heck, now the word "resolution" will start to have meaning! Instead of getting more small icons on your screen when going from 800x600 --> 1600x1200, you could get more detailed ones. And if it renders faster than PNG images, then we can have both great looks & high speed. Way to go! :D
    • Re:Finally, great news for users :) by DrSkwid (Score:3) Monday February 03 2003, @09:17AM
      • Re:Finally, great news for users :) (Score:4, Insightful)

        by tempfile (528337) on Monday February 03 2003, @10:44AM (#5215589)
        In a perfect world, you wouldn't have to increase the font size when your resolution grows. Instead, you'd tell the computer about the resolution and it would adjust the font rendering accordingly. Remember that pt is an absolute measure (1/72 inch), as in "Computer, make that font 22pt tall and I don't care how many pixels you will use".

        It has been a problem for a long time that fonts would scale up with increased rendering resolution, but icons wouldn't, destroying the visual composition. SVG can definitely make that better.
        [ Parent ]
  • Mindblowing (Score:5, Interesting)

    by CoderByBirth (585951) on Monday February 03 2003, @08:29AM (#5214867)
    I really think that scaleable icons are gonna be THE killer application of tomorrows operating systems.

    Seriously, why not go all the way and question the whole concept of icons?
    They could be allowed more degrees of freedom in their representation of a complex data object. Consider a 3D spinning folder icon, which somehow gives you an idea of how much data/what type of data is contained in the folder.
    Now THAT would be neat.
    • Gah! Nooo! by thatguywhoiam (Score:2) Monday February 03 2003, @10:26AM
    • Re:Mindblowing by jorleif (Score:1) Monday February 03 2003, @10:47AM
      • Re:Mindblowing by RustyTaco (Score:1) Monday February 03 2003, @03:29PM
    • Re:Mindblowing by sean23007 (Score:2) Monday February 03 2003, @12:54PM
    • Re:Mindblowing by jimmy_dean (Score:1) Monday February 03 2003, @09:39AM
      • Re:Mindblowing by psamuels (Score:1) Tuesday February 04 2003, @08:01AM
    • 2 replies beneath your current threshold.
  • Corresponding Browser support? (Score:4, Interesting)

    by brianjcain (622084) on Monday February 03 2003, @08:30AM (#5214870) Journal
    So can we expect similar native SVG support from our favorite gratis and libre browsers (Mozilla, Opera, et al) soon? I think it's only been available via a plugin before.
    • Mozilla (Score:4, Interesting)

      by Anonymous Coward on Monday February 03 2003, @08:50AM (#5214944)
      Mozilla has a native SVG project [mozilla.org] that's been around for awhile.

      I've always thought this would be the coolest thing ever: native SVG in a browser. I've thought of all sorts of great applications of this idea--I do mostly statistical analysis and to be able to put all the output, graphics and everything, into one file in a open, standard format that's read by a browser sounds wonderful.

      The problem as I understand it is that the SVG library Mozilla currently uses has a license that's incompatible with the Mozilla license. Mozilla native SVG is available in a separate download and has some functionality, but not anywhere near all of it. I've always thought it seemed a bit strange that someone couldn't find a Mozilla-capable SVG library, or that it would be that difficult to build one (I would help, but I just don't have anywhere near the expertise necessary).

      So, this stuff about Mozilla native SVG may seem offtopic, but it's really not, in a way: does anyone know if the library used for the SVG icons has any utility for Mozilla SVG or other open source browser-native SVG projects?
      [ Parent ]
      • Re:Mozilla (Score:4, Informative)

        by IamTheRealMike (537420) on Monday February 03 2003, @09:00AM (#5214986) Homepage
        So, this stuff about Mozilla native SVG may seem offtopic, but it's really not, in a way: does anyone know if the library used for the SVG icons has any utility for Mozilla SVG or other open source browser-native SVG projects?

        Not really. A better fit would be Xr - librsvg does the rendering but Mozilla needs to do it itself for good integration. Using Xr however in place of libart would provide a better backend.

        [ Parent ]
        • Re:Mozilla by po8 (Score:2) Monday February 03 2003, @01:28PM
      • Re:Mozilla by Nicopa (Score:1) Monday February 03 2003, @05:27PM
    • Re:Corresponding Browser support? by KjetilK (Score:1) Monday February 03 2003, @09:05AM
    • Re:Corresponding Browser support? by Turmio (Score:2) Monday February 03 2003, @10:04AM
  • Svg Developpement by Sepper (Score:2) Monday February 03 2003, @08:33AM
  • nice, but by CaptnMArk (Score:1) Monday February 03 2003, @08:36AM
    • Re:nice, but by Ur@eus (Score:2) Monday February 03 2003, @09:15AM
  • About scalability by Anonymous Coward (Score:1) Monday February 03 2003, @08:41AM
  • How can they say it's faster? by 3770 (Score:1) Monday February 03 2003, @08:45AM
  • by ubiquitin (28396) on Monday February 03 2003, @08:48AM (#5214937) Homepage Journal
    ...to have a really good SVG editing tool. GIMP 1.3.1 shows that some GNOME developers have put some serious thought into Bezier editing tools, but nothing that has been released as a standalone vector editing app. killustrator, sodipodi and similar apps just aren't ready for prime time. If you're willing to spend the time to use it, the GIMP is really about as powerful as photoshop. Unfortunately, there is nothing in the open source world which is anywhere near as close to Adobe Illustrator functionatlity.

    Worth noting that NeXT had display Postscript robustly implemented and SGI's window manager also had scalable fonts, but neither of these OS or GUIs are around today. If there's a lesson to be learned here, it is that the UI isn't significantly improved by scalable vector graphics. SVG is an improvement but not one which will make any competitive difference. Fortunately or unfortunately, the 25 year history of user interface points us in a different direction.
  • One quick question by IamTheRealMike (Score:2) Monday February 03 2003, @08:49AM
    • Re:One quick question (Score:4, Informative)

      by tjansen (2845) on Monday February 03 2003, @09:34AM (#5215184) Homepage
      AFAIK it is more compliant at the moment because it supports more SVG features. But librsvg is just a static renderer, whereas KSVG aims to offer a complete DOM model to KJS, KDE's JavaScript engine. This allows Macromedia Flash-like interactive animations using SVG+JavaScript.
      [ Parent ]
    • 2 replies beneath your current threshold.
  • SVG trade-off .. by bockman (Score:2) Monday February 03 2003, @08:51AM
    • Re:SVG trade-off .. by arkanes (Score:2) Monday February 03 2003, @09:17AM
    • Re:SVG trade-off .. (Score:5, Interesting)

      by Knobby (71829) on Monday February 03 2003, @10:12AM (#5215418)

      I'm not so sure why it would be faster to render the SVG and display the PNG (which needs to be decompressed), but keep in mind that it may depend on the test platform. Under Mac OS X 10.1, a lot of people were using a little command line hack that compressed the frame buffer. The memory bus was a bottle neck, and it was faster to compress and decompress the frame buffer than it was to move the uncompressed frame across the bus.. Just a thought.. CPU cycles are cheap, improve the memory system is not..

      [ Parent ]
  • Terrible Screenshot by 1000101 (Score:1) Monday February 03 2003, @08:52AM
  • Can Mozilla use this by m0RpHeus (Score:1) Monday February 03 2003, @09:00AM
  • What's going on? (Score:5, Interesting)

    by Tyreth (523822) on Monday February 03 2003, @09:15AM (#5215058)
    Why are there so many people complaining about "what's the point of SVG" or "what a waste of time" kind of arguments. What's the issue here?

    I can't believe people here have so little imagination. It's almost like they are posting just to get modded up for having a 'radical' opinion. I mean, come on, what's the problem with SVG? It's not like the time spent coding on it is going to mean KDE3.2 will be delayed a month, or that Gnome will have more bugs. This is just one of the many enhancements that make Linux, and software in general, nicer. We should be talking about the fun things we can do with SVG, or the improvements that could be made, or any encouraging notes on it. Not about whether it has a point at all.

    Let me illustrate some points for the creatively challenged:

    • Prettyness - this is the most obvious. Most people like something that looks good! Sure, it may not have an obvious practical advantage, but humans are naturally attracted to things that look good, as opposed to a website with black background, red/yellow flashing text with images with white backgrounds. There may be something deeper to this - when something looks professional /pretty, it feels easier to understand. The less attractive it is, the more complex it feels. Quite simply, the more something feels like sphagetti the less our mind will be able to comprehend it and move on to newer things. The neater something is and the more we comprehend it, the easier we will find to move on to something new.
    • Resolution - been mentioned earlier. Different resolutions require different font sizes. This means that the artist can make an icon that will be useful from now until the time computers go primarily 3d. They don't need to anticipate resolutions of the future, their work will scale seamlessly.
    • Speed - this is a speed improvement. The more our code is improved and sped up, the more integrated it can be. This is just one of many enhancements to Linux that make community software that bit better.

    So, onto something more positive: what's the state of SVG in KDE? I really enjoyed it in Gnome 2 for the time I used it, but it was a bit slower when they got large. These speed improvements are certainly good news.

    • SVG in KDE by InodoroPereyra (Score:2) Monday February 03 2003, @11:31AM
      • 1 reply beneath your current threshold.
    • Re:What's going on? by number6 (Score:1) Monday February 03 2003, @04:32PM
    • 1 reply beneath your current threshold.
  • by more (452266) on Monday February 03 2003, @09:22AM (#5215113)
    It is nice to have the sharp features aligned with the pixel boundaries while still maintaining approximately the geometric relations. Perhaps a deformable match of the high frequency features with the pixel boundaries could be a solution for showing glyphs most accurately on pixelized displays?

    Deformable matches are used in advanced medical applications between 3d volumetric images: CT, MRI, PET, etc.

  • Excellent... (Score:3, Insightful)

    by Anonymous Coward on Monday February 03 2003, @09:24AM (#5215128)
    I seem to be alone here as the only person who actually thinks this is a fantastic idea...

    The whole point about SVG is that they will render nicely whatever the screen size... This isn't only relevant for big screens. This means that my iPAQ's tiny little 320x240 screen won't have to be eaten up by huge bitmap icons.

    The SVG stuff should tie in beautifully with the sub-pixel rendering in X.

    Congratulations to the author(s) for their great work..

    Looks like linux just gained yet another feature that windows is lacking.

    Well Done :)
  • Display SVG (Score:5, Interesting)

    by DrXym (126579) on Monday February 03 2003, @09:25AM (#5215131)
    Screw the icons, how about a complete display SVG engine akin to Display Postscript / Aqua?


    If this lib as fast as it claims (at rendering though I doubt parsing), then why not? Windows and other elements in the display would break-down into SVG commands that would be rendered as required. Perhaps it would prove a very efficient way of presenting a remote desktop too rather than sending down bitmaps like VNC does at present.

    • SVG vs. PNG (Score:5, Interesting)

      by daVinci1980 (73174) on Monday February 03 2003, @11:40AM (#5215846) Homepage
      I read this claim again and again, and it still doesn't sit well with me. I worked on a vector-based rendering engine for awhile (in fact, the fastest vector-based rendering engine [begins with an f, ends with a lash]), and there are certain limitations that cannot be overcome.

      When it ultimately gets down to it, a PNG file is a compressed bitmap. There is a fixed cost to rendering it, which can be expressed as an amortization of the dimensions of the image. Its just like fill-rate on a 3-D card.

      When rendering any vector format, there are many dependencies. Is AA enabled? Which AA algorithm was used? Are they using a scanline renderer, or actually rasterizing each vector regardless of its impact?

      The same reason which allows SVG to be faster than PNG rendering is the same reason that other cases will be radically slower: rendering each vector disregards the size of the image being rendered. How can this make it slower? Imagine an image filled dozens or hundreds of times with the same vectors that fill the image completely. Suddenly, we're not having to fill a rectangle, we're having to fill it multiple times in comparison to the png drawing in the same space. And the problem gets worse the larger the destination size.

      Using a scanline renderer for vector based graphics has a much better cost comparison to png format, but it will always be slower as ultimately bitmaps can be embedded within vector formats.

      As a simpler analogy; the vector graphics are to the transformation pipeline or a graphics card what bitmaps (and pngs) are to the rasterization on the video card. Transformation without rasterization is meaningless, and therefore always going to be slower.

      [ Parent ]
  • Icon scaling != usability by HelbaSluice (Score:2) Monday February 03 2003, @09:26AM
  • SVG for fonts. by Anonymous Coward (Score:1) Monday February 03 2003, @09:27AM
  • gdkpixbuf by siphoncolder (Score:1) Monday February 03 2003, @09:36AM
  • by dwheeler (321049) on Monday February 03 2003, @09:39AM (#5215221) Homepage Journal
    At one time, I recall that there were some serious patent issues with SVG. Basically, SVG wasn't really an open standard, because it was patent royalty encumbered - giving an automatic disadvantage to those who weren't patent holders, making it impossible to implement using open source software / free software, and discouraging implementation in any place where expenses have to be kept down (including some small businesses and mass market devices).

    According to http://www.w3.org/2001/07/SVG10-IPR-statements.htm l [w3.org] and http://www.w3.org/Graphics/SVG/Disclosures [w3.org], this appears to have been resolved to permit royalty-free use.

    If this is true, that's a real victory for the new W3C policy (and for the world in general). Thanks to all. Please let me know if I'm misinterpreting something.

    • 1 reply beneath your current threshold.
  • Dependency hell by marmoset (Score:2) Monday February 03 2003, @09:51AM
  • Linux Vector Tools by Sludge (Score:2) Monday February 03 2003, @09:55AM
  • Comparison of SVG and display PDF? by sir99 (Score:2) Monday February 03 2003, @10:00AM
  • The best demo i found. (Score:3, Informative)

    by Jeedo (624414) <(asdfasdfasdfasd ... sdfasdf.com.is.o> on Monday February 03 2003, @10:07AM (#5215387) Homepage
    Adobe has made some nice Demos [adobe.com] of the capabilities of SVG especially things that would previously have been only possible with Flash

    Although, being a windows user i could only view it using the Adobe SVG Viewer which only works in IE, any of you have an idea of how to make it work under opera7 drop me a line:)

  • Remember the NeXT... (Score:3, Interesting)

    by kahei (466208) on Monday February 03 2003, @10:08AM (#5215394) Homepage

    Remember how the NeXT boxes had postscript displays? Whatever needed to be drawn on the screen was expressed as postscript, and the display was a postscript renderer. It worked beautifully.

    SVG is much more powerful (for desktop things, not necessarily for printing/typesetting things) than postscript. I think this is an excellent step.

  • Surprised noone noticed those are KDE icons ;-) by Roberto (Score:2) Monday February 03 2003, @10:45AM
  • Speed vs. Quality by someguyintoronto (Score:2) Monday February 03 2003, @10:56AM
  • Thats a lotta acronyms.... by oh2 (Score:1) Monday February 03 2003, @11:02AM
  • Opportunity for KDE and Gnome to work together by Anonymous Coward (Score:1) Monday February 03 2003, @11:56AM
  • Learn more about What SVG is before for you speak by man_behind_the_time (Score:1) Monday February 03 2003, @12:05PM
  • Silicon Graphics IRIX by almaw (Score:1) Monday February 03 2003, @12:12PM
  • What's new about it? by Theovon (Score:2) Monday February 03 2003, @12:14PM
  • It's time for vector graphics-based GUI. by master_p (Score:1) Monday February 03 2003, @12:53PM
  • svg links by bolger (Score:1) Monday February 03 2003, @01:03PM
  • Scalable by riqnevala (Score:1) Monday February 03 2003, @01:11PM
  • sharing by bicho (Score:1) Monday February 03 2003, @01:33PM
  • Have a little imagination, people. by keith_veleba (Score:1) Monday February 03 2003, @01:38PM
  • Cartoons only? by Eil (Score:2) Monday February 03 2003, @02:43PM
  • People should stop over-abusing TLAs..... by Free Bird (Score:1) Monday February 03 2003, @03:04PM
    • 1 reply beneath your current threshold.
  • Background? by SmileeTiger (Score:1) Monday February 03 2003, @05:12PM
  • Just remember... by Cinematique (Score:2) Monday February 03 2003, @11:56PM
  • Re:Not needed for desktop (Score:5, Interesting)

    by e8johan (605347) on Monday February 03 2003, @08:06AM (#5214743) Homepage Journal

    IF SVG supports raster (pixelbased) graphics, together with the vector graphics (as textures or something), this could be really useful. An ultimate graphics format, the holy grail...

    As for not being needed on the desktop. Optimizations are *always* needed and useful. Also, this can finally mean truly resolution independent graphics. Simply know the dpi of your screen and all will always be the same size, independent of grannys old 640x480 and mine 1280x1024...

    [ Parent ]
  • Re:Not needed for desktop (Score:5, Informative)

    by msgmonkey (599753) on Monday February 03 2003, @08:08AM (#5214754)
    Why not? The scalable aspect means you would only have to supply one icon file for different resolutions. You could have applications where the proportions where exactly the same regardless of if the resolution was 800x600 or 1280x1024.
    [ Parent ]
  • Re:Not needed for desktop (Score:3, Insightful)

    by gmuslera (3436) <gmuslera@@@gmail...com> on Monday February 03 2003, @08:08AM (#5214755) Journal
    What about replacing flash animations in web sites with something really standard?
    [ Parent ]
  • Re:Not needed for desktop (Score:4, Informative)

    by mrjb (547783) on Monday February 03 2003, @08:41AM (#5214915)
    It is not only what you need on the desktop but also what people want. On a similar note, who *needs* flash on a webpage, or even GUI interfaces?

    Personally I wouldn't mind seeing a truly open specification as the standard for scalable vector graphics, and this seems to be *the* candidate for it. From the w3c webpage on SVG:

    SVG is a language for describing two-dimensional graphics in XML. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), images and text. Graphical objects can be grouped, styled, transformed and composited into previously rendered objects. Text can be in any XML namespace suitable to the appplication, which enhances searchability and accessibility of the SVG graphics. The feature set includes nested transformations, clipping paths, alpha masks, filter effects, template objects and extensibility.

    SVG drawings can be dynamic and interactive. The Document Object Model (DOM) for SVG, which includes the full XML DOM, allows for straightforward and efficient vector graphics animation via scripting. A rich set of event handlers such as onmouseover and onclick can be assigned to any SVG graphical object. Because of its compatibility and leveraging of other Web standards, features like scripting can be done on SVG elements and other XML elements from different namespaces simultaneously within the same Web page.
    [ Parent ]
  • Re:Not needed for desktop by Anonymous Coward (Score:1) Monday February 03 2003, @08:43AM
  • by DrSkwid (118965) on Monday February 03 2003, @09:02AM (#5214992) Homepage Journal
    run your desktop at 2048x1536 and you'll get a harsh lesson in how poor the computing world deals with different resolutions.

    If it wasn't for Mozilla's ability to have a minimum point size for fonts 75% of websites are too small to read (including my own).

    Making a website that renders properly at all sorts of font sizes is a challenge.

    A challenge made worse by I.E. & Mozilla's disagreement on what to change when you change the browser's font size. [View .. Text Zoom] on mozilla & [View ... Text Size] on I.E.

    I.e. doesn't change any font specified in pt, px em or en whereas moz changes soe of them but not others.

    frikking n'mare

    [ Parent ]
  • Re:Yeah, but... by 0x0d0a (Score:2) Monday February 03 2003, @09:11AM
  • 23 replies beneath your current threshold.