Re: RFC: use svg for widgets instead of png/gif
Tupshin Harper <[email protected]> Sat, 27 Dec 2003 17:20:30 -0800
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Message-ID | <[email protected]> |
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
google_buttons.svg
(image/svg+xml, 2.7 KB) - not displayed
google_buttons.PNG
(image/png, 859 B) - not displayed