qtawesome icon indicating copy to clipboard operation
qtawesome copied to clipboard

We should use font-awesome's icons.yml rather than our generated charmap.json

Open SylvainCorlay opened this issue 10 years ago • 4 comments
trafficstars

Currently, qtawesome uses a character map that is stored as a .json file for the association (icon-name -> unicode character). I generated these files based using yml source available in FontAwesome and Elusive icons.

Font-awesome: https://github.com/FortAwesome/Font-Awesome/blob/master/src/icons.yml Elusive icons: https://github.com/reduxframework/elusive-icons/blob/master/src/icons.yml

Fortunately, they use the same schema in both projects.

To adapt more easily to future versions of FontAwesome and Elusive icons, we should probably directly use those yaml files. However, this would require qtawesome to have a dependency to yml. Unlike json, yml is not part of the Python standard library.

Similarly, I would have to produce a similar file for the spyder font.

SylvainCorlay avatar Jun 07 '15 17:06 SylvainCorlay

@ccordoba12 any take on that?

SylvainCorlay avatar Jul 24 '15 18:07 SylvainCorlay

Let's talk about this in our next week meeting

ccordoba12 avatar Jul 25 '15 18:07 ccordoba12

Relevant to the FA's update to v5: where the new icon names are

homocomputeris avatar Feb 17 '18 14:02 homocomputeris

Is this still relevant now that FA4 lives in its own namespace away from FA5?

darkvertex avatar Jan 25 '19 20:01 darkvertex

Is this still open ??

pedromorgan avatar May 04 '23 23:05 pedromorgan

Hi, yes! Although seems like it has been open for a while now 🤔 Should we keep this open @ccordoba12 ?

dalthviz avatar May 16 '23 22:05 dalthviz

We don't have a strong interest to use yml files here. So, perhaps we should close it.

ccordoba12 avatar May 16 '23 22:05 ccordoba12