Slashdot Mirror


Major Step Forward For SVG in the Desktop

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

29 of 363 comments (clear)

  1. odd by pummer · · Score: 2, Insightful

    Now, what is the problem with icons today??? They're ICONS. It's not like they're actual programs that matter! They're ICONS! C'mon!

    1. Re:odd by jordan_a · · Score: 5, Insightful

      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.

    2. Re:odd by olethrosdc · · Score: 2, Insightful

      The SVGs would be most useful for widgets I guess. Now that I think of it, they would be extremely useful for widgets and buttons.

      On the other hand, the SVG would have to be yet another library to have installed on your system, with all the problems associated with having yet another library :/

      --

      I miss my rubber keyboard.(Homepage)

    3. Re:odd by Lucas+Membrane · · Score: 4, Insightful

      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.

  2. Just more OSX themes. by Sh0t · · Score: 2, Insightful

    This will pave the way for bigger and better OSX clones! Honestly, do we really need SVG icons on the desktop ? All i do is click my icons, i don't need them to enlarge to 200% when I mouse over them or shrink to nothing when I click them. I understand the need for eye candy, which is cool, but SVG icons aren't on the top of my list. Eye candy ? www.sh0t.com/gnome.jpg Anyhow, it's an advancement nonetheless

    1. Re:Just more OSX themes. by rseuhs · · Score: 5, Insightful
      Unlike most eye candy, this makes the desktop faster, so I don't see anything wrong about it.

      Also, the more it will be used, the faster it will hopefully become available in browsers out of the box so we can finally ditch flash...

    2. Re:Just more OSX themes. by DataPath · · Score: 2, Insightful

      This has nothing to do with pimping GNOME. If SVG really does render faster than equivalent pngs, plus is fully scalable, it will probably make its way into KDE also, and anything that a) makes the UI faster, and b) makes nicer UIs less intensive is good for every non-proprietary OS. The nice thing about SVG for UI elements is that it would mean no longer including different sizes of wallpaper - one would work fine, without lossy resizing. The implications on the desktop are endless. This is a Good Thing(tm) for everyone.

      --
      Inconceivable!
  3. This is a great thing!!! by md17 · · Score: 4, Insightful

    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!

  4. Re:Not needed for desktop by gmuslera · · Score: 2, Insightful

    What about replacing flash animations in web sites with something really standard?

  5. Re:OS X by scrutty · · Score: 4, Insightful
    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.

    --
    -- Oh Well
  6. Re:Expanding Complexity by gmuslera · · Score: 3, Insightful

    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

  7. Re:I just don't care! by realnowhereman · · Score: 5, Insightful

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

    --
    Carpe Daemon
  8. Re:Too late by protomala · · Score: 2, Insightful

    First, Gnome have SVG in real time, you can choose a .svg as icon file. KDE should had this for 3.1, but as their lib wasn't very good, they now target it for 3.2. Second, they aren't saying gnome just got it, it's been there since 2.0, it's just better now. PS: I'm a KDE user, but I'm fair, SVG in KDE still sucks.

  9. Re:Stateful Icons? by jonr · · Score: 2, Insightful

    BeOS did something close to this. Although vector-based icons are more suited to this.
    I could start ftp download and then just keep an eye on the file's icon in the Tracker for progress... Very useful.
    J.

  10. Re:A better way to clone the OSX look and feel? by GauteL · · Score: 5, Insightful

    You seem to be under the impression that the OSX-icons are SVG. This is not true. They are just resource forks containing several different sized icons so that they seem to scale "magically".

    They might be drawn with Vector based drawing, but they ARE converted before used as icons. KDE does the same thing. The excellent Crystal Icons are SVG-based, but they are converted to PNG for KDE, hence the incorrect assumption that KDE supports SVG. KDE is supposed to get SVG-support in KDE 3.2.

  11. Re:I just don't care! by Atzanteol · · Score: 5, Insightful
    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!
    --
    "Ignorance more frequently begets confidence than does knowledge"

    - Charles Darwin
  12. Re: Stateful Icons? by IamTheRealMike · · Score: 5, Insightful
    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).

  13. Re: Stateful Icons? by Ed+Avis · · Score: 5, Insightful

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

    --
    -- Ed Avis ed@membled.com
  14. Re:Finally, great news for users :) by DrSkwid · · Score: 2, Insightful

    amen to that

    I'm running 2048x1536 on a 22" & I'm very happy that for the first time in my computing career instead of using the space to display somewhere near a useful amount of workspace I can actually keep the workspace the same size and turn up the font size.

    Running a term where the chars are 1cm high but I can still get 100+ columns is a godsend.

    Big fonts rule and all the better that I have a dual head system and I dont have to squint at IRC to read the text. I can have it at 22pt and read it from anywhere in the room.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  15. Excellent... by Anonymous Coward · · Score: 3, Insightful

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

  16. Icon scaling != usability by HelbaSluice · · Score: 2, Insightful

    Thing is, frequently you want a loss of quality when you scale an icon. Who cares about all the pretty brown crinkles in the Gnome foot icon when it's at 12 x 12? They won't read like crinkles, they'll read like a muddy mess. A simple outline is probably best at that size.

    Now, a format that defines a priority heirarchy among the vectors on the image, and a scaling factor at which size various low priorities of vectors are not rendered... That might be very, very useful for icons.

  17. Session Migration by msobkow · · Score: 4, Insightful

    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.

    --
    I do not fail; I succeed at finding out what does not work.
  18. Comparison of SVG and display PDF? by sir99 · · Score: 2, Insightful
    Scaled icons would be sweet. A nice step towards resolution independence. But how does SVG compare with other vector drawing systems, like display PDF? What are advantages and disadvantages of each?

    For a program I'm writing, I use Ghostscript to render some postscript in one of my windows, but I wouldn't dream of using it to render my GUI widgets. :-)

    --
    The ocean parts and the meteors come down
    Laid out in amber, baby.
  19. Re:Once again... /.'ers rally against the cause... by thatguywhoiam · · Score: 2, Insightful
    (on 'the cause' - no kidding, eh?)

    Note that this implementation probably won't do MacOS style fast zooming (not that it's all that useful anyway).

    I think zooming may play a much more important role in future GUIs. While the Dock's little parlour trick has limited functionality - apart from being a nifty demo - in its current form, I can see all sorts of situations where you could impart a huge amount of information through a 'zoom-up'.

    For example, those icon badges mentioned before. I find myself wishing for both more informational icons, and a keyboard-activated zoom focus. The Mail icon shows you how much mail you've got, that's nice... but I want more info. It would be great to mouse over the icon and have the connections/progress listed. Or, roll over the clock and have a calendar zoom out at you like a springloaded folder... putting itself away when you roll away. This gives you a really high amount of information density in a small amount of screen space. The SVG icons are great, the only problem I can see with them is for photographic material. Postscript-type files are fantastic and small for line art/gradients, but if you tried to vectorize a photo of Linus' head it would be a very large icon data-wise... much larger than a standard bitmap would be. I suspect this is why the OS X team went with the vector-transformed large bitmaps (someone else pointed out - or was it you RealMike? - that 256x256 icons are good for now, I'd respectfully point out that the 32x32 icons are still appropriate for most modern resolutions... 256 pixels will carry us well into the next 8 years barring otherworldly jumps in display resolution.)

    --
    If Jesus wants me it knows where to find me.
  20. Re:I just don't care! by bwt · · Score: 2, Insightful


    I don't want my icons to be huge!

    You just don't get it. Size should be a property of the rendering, not of the icon. SVG allows this, bitmaps don't.

    You can make an icon out of any SVG file by telling your desktop to render it. Not only that, but it looks good whether you are on 1920*1200 or 640*480.

  21. Re:Finally, great news for users :) by tempfile · · Score: 3, Insightful

    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.

  22. Speed vs. Quality by someguyintoronto · · Score: 2, Insightful

    You would think with everyones rant that this was really new technology. Vector image formats are not new.

    In fact there is an age old debate, of bitmap (pixel-based) and vector. Pixel based has it's drawbacks of not being scalable, and being bigger in file size. Vector, on the otherhand is scaleable and smaller in file size.

    We should, however, remember the big tradeoff for vector, and that is what is gained in scalable quality is lost in rendering processor time. I could imagine some extremely complex icons being created really grinding GNOME on the rendering. Additionally, add XML as the native format, while useful in many applications, processing/parsing XML is not the ideal...

    I'll be impressed when I see it and run it on my old beater box that I currently can run GNOME on...

    Although, I guess if it really " renders them faster than libpng renders the same images in png format." maybe it'll be the holy gail afterall.

  23. Re: Stateful Icons? by Fastolfe · · Score: 2, Insightful

    ...is going to be big enough for a while.

    What you're basically advocating is changing the "standard icon size" every few years, as display resolutions go up. You also suggest that for print, vector graphics are better. What happens when display resolutions catch up to today's printer resolutions? Will you only advocate a switch to vector graphics when that day arrives? Or by that time will we be using 1024x1024 icons?

  24. Re:Not needed for desktop by Twirlip+of+the+Mists · · Score: 2, Insightful

    I used to fall into this trap from time to time myself. See, whenever somebody on Slashdot says "standard," they mean one of very specific thing: a specification entangled in draconian license terms that make commercial use impossible. No standard created and promoted by a company can be a "standard" in the Slashdot sense. So Flash is not a "standard" for the same reason that the QuickTime file format is not a "standard:" because, despite the fact that they are fully documented and readily available for any to use, both of those formats were developed by companies. And companies, of course, are inherently bad, according to Slashdot collectivist groupthink.

    It's an easy mistake to make, misunderstanding the common usage of the word "standard" on Slashdot. The same problem arises with the word "open," and don't even get me started on the word "free."

    --

    I write in my journal