KDE To Adopt SVG: Take A Glance
Karma Sucks writes "According to the KSVG website, KDE 3.2 will be adopting SVG in a very real way. A special preview of KSVG is available, showing everything from font rendering to a snowfall simulation using ECMAScript and DOM. KSVG is fully integrated into the KDE framework and can be used as a KPart -- e.g., by applications such as Atlantik."
Python? How silly!
Ruby is the best language to use! Down with Python, up with Ruby!
Well, this could bring some great new (usable) flexibilites to the KDE - completely scalabe icons sound way better than that mess of 6 different resolutions of png files. Let's hope it also scales, resource wise...
This is extremely cool for many reasons.
:-) It's also quite likely that once the KHTML integration is complete, it will end up in Safari as well, which is good for everyone.
:-)
1) It means that KSVG, which was stalled for a long time, is now stable enough to be considered part of the base system. That is good news for SVG adoption in general, as it means that Konqueror 3.2 will likely have native SVG-with-animation support. Finally, an out-of-the-box fully-SVG-enabled browser other than IE-with-Adobe.
2) SVG should not be used for the entire UI, that's overkill, but for many areas it makes life a lot easier. For instance, icons in SVG make them infinitely scalable, so that people can resize their screens or their icons to whatever they find comfortable with no loss of quality. (Think handicapped.) Also, no more need for Small and Large versions of icons. Just have one icon, and the system scales it to whatever size is needed.
3) Hopefully, this will mean better support for SVG creation. KDE's SVG editing tools are still not the best. What I really want is to be able to use SVG as an editing format natively, not have to use a program-specific format (Illustrator, Kontour, Karbon14, anything) and then export to SVG. I want to work natively in SVG. With luck, this will let us do that.
There are some potential downsides, of course. Most notably, the risk that KDE will become like Mozilla. An all-XML UI, which while flexible also makes it considerably slower than just using compiled widgets. KSVG will have to be very very fast to avoid that problem, unless things are precompiled in memory cleanly.
Still, I can't wait.
--GrouchoMarx
Card-carrying member of the EFF, FSF, and ACLU. Are you?
To all the people who have been saying that SVG would make it unnecessary to have different icons for different resolutions, I must say that icons are not thumbprints. You would still have a need for different icons, depending on the amount of detail the interface is capable of rendering. A single SVG icon would be either too plain for a 1600x1200 screen or too complex for a 90x90 cellphone display.
Ridiculous? I think not. Have you ever actually seen SVG document that includes embedded Python? The KSVG team hooked in ECMAScript for the simple reason that it is actually used in real SVG's from the wild. IIRC Adobe's SVG impl. also does javascript, for the same reason.
TrueType fonts are scalable, but they render very quickly. That's because they are actually cached as bitmaps. The KDE team will likely do the same thing with icons, and if they extend SVG to the inteface, they could do the same thing there.