I have a common understanding problem and it's unclear for me what would be the best way to go forward. So I decided to ask community for advices.
jQuery UI defines CSS Framework which contains class "ui-icon" and many specific classes for different standard icons (320 total icons) which one can see on the test page. There are a lot of plugins, web sites and so on who uses the CSS framework. For example jqGrid Pluging use it. The grid which will be created by jqGrid contains the icons.
After writing the answer about the usage of Font Awesome icons instead of some jQuery UI icons I am asking me regularly the same question: why jQuery UI CSS framework has raster icons instead of vector based icons? In my opinion it would be very practical to have another implementation of the Icon part of jQuery UI CSS Framework. In the case one could just replace the jQuery UI Theme and to have icons which implemented in better way.
We are living now in the time of monitors with high DPI (event for tablet PC and smartphones). So many people use zoom setting higher as 100% as the standard setting in the web browser. If one compares
with
one would see differences very clear.
Current versions of web browsers (including old IE7) supports vector based web fonts in at least one from formats WOFF, EOT, TTF, OTF or SVG. The fonts are the part of W3C Working Draft document "CSS Fonts Module Level 3" (see http://www.w3.org/TR/css3-fonts/#src-desc).
So why one don't replace current PNG icons of jQuery UI with web fonts alternatives? There are many free open source fonts which provides already (see here, here, here, here and so on) the most (but not all) icons which one need.
Additional benefit of using web fonts which I see will be simplifying of creating of jQuery UI Themes. If I compare the images ui-icons_XXX_256x240.png used inside of Base Theme, or if I compare there with the corresponding images of another Theme, then I see the color used in the images as the only difference between. In case of usage vector fonts one can just specify color
, background-color
or use linear-gradient
or radial-gradient
CSS styles to change colors or to produce nice color effects:
I see many advantaged in usage of vector icons, but I don't found till now a good place where one could place the feature request for vector icons. I posted the feature request and this one, but I think more and more that we have here common jQuery UI Framework problem.
After release of jQuery 2.0 which drops support of IE 6/7/8 is it not the time to consider to replace raster based PNG icons with vector based web fonts?
Probably I miss some important disadvantages of usage vector based web fonts? Very bad performance for example (which I didn't seen till now) or some other things? Is creating of all needed icons too complex? Are there some other problems?
I decided to ask the question to draw attention of other people to the problem which I see. I'm afraid, that without the corresponding feedback from community my feature request will be have no consequences.
Which way would be the best for placing of such feature request? I have to add that creating of fonts or picture is not the subject where I am good myself. So I can't participate in the implementation myself. Sorry.
Any advices or your opinions about the subject are welcome!