Re: RFC: use svg for widgets instead of png/gif

Adam Megacz <[email protected]> Sat, 27 Dec 2003 17:43:23 -0800
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT
Message-ID <[email protected]>
Could you run kvec on something more complex?  Like with curves?  Like
a radio button?  I suspect that it will resort to using rasters.

  - a

Tupshin Harper <[email protected]> writes:
> David Crawshaw wrote:
> 
> >
> > On 28/12/2003, at 10:36 AM, Tupshin Harper wrote:
> >
> >> Just an idea, which I'd like to hear people's thoughts on. What if we 
> >> were to have no bitmaps in the xwt widgets. All buttons, etc., in the 
> >> core widget set could be implemented as SVG.
> >
> >
> > While I like the idea (vectors are good), there is one more con: 
> > Specific theme implementations will never look anything like what 
> > they're trying to mimic.
> >
> > Try drawing the Win32 radio button with SVG. You can get it in the 
> > right ball park, but it won't be the same. Which means the theme will 
> > always feel out-of-place to a user.
> >
> > There was talk once of a default XWT theme. I would propose that when 
> > this theme is written, it should be done in SVG.
> >
> > d
> >
> Interesting point, but I think that automated conversion programs can
> address this. I took a screenshot of the google search form (text input
> field, and the search and "i'm feeling lucky" buttons), edited out the
> text, and saved it as a bitmap. I then used the shareware program
> kvec(don't know if there are any decent open source bitmap->svc
> converters) to convert it to svg. To my eyes, it looks like a pixel
> perfect rendition. I've attached both versions for your perusal.
> 
> -Tupshin
> 
> 
> 
> _______________________________________________
> widgets mailing list
> [email protected]
> http://lists.xwt.org/listinfo/widgets

-- 
"If Darl McBride [the CEO of SCO, who claims the GPL 'destroys
 intellectual property'] was in charge, he'd probably make marriage
 unconstitutional too, since clearly it de-emphasizes the commercial
 nature of normal human interaction, and probably is a major
 impediment to the commercial growth of prostitution"

                                             -- Linus Torvalds