Hello,

As you know this summer a student worked on Javafx widgets.

I will also contribute to the GUI module of apache SIS but there is a little something we never talked about : Icons.

So far SIS didn't have many widgets but now that we will start to have more we should choose how we handle images and icons when they are needed.


- Png/Jpeg/Gif/Bmp files have a considerable weight and don't scale well

- SVG scale correctly but is not well integrated in javafx, the default SVGPath has limited capabilities and they are not easy to use.

- we could add an SVG library such as Apache Batik or SvgSalamander but It would result in many more jars.


My proposal is to use a glyph font library like :

- FontAwesome (http://fontawesome.io/cheatsheet/) , license SIL OFL 1.1, 170kB

- Material (https://material.io/icons/) , license Apache2,  128kB

This solution offers a lot of icons (over 500), scaling well, convenient to use in javafx, using a same neutral visual theme, and are very lightweight.

Many more glyph font projects exist, even thematic ones like : https://erikflowers.github.io/weather-icons/


What are your preferences ?


Johann Sorel





Reply via email to