QtAwesome icon indicating copy to clipboard operation
QtAwesome copied to clipboard

Can QtAwesome read Python fotnAwesome icons?

Open Dariusz1989 opened this issue 2 years ago • 6 comments

Hey

So there seem to be 2 variants of "awesome" fonts out there.. .c++ and python... python seems to have a wee more of them > https://github.com/spyder-ide/qtawesome/tree/master/qtawesome/fonts

Will this reader be able to read them too ?

Also, PRO version on website states like 19k icons... are they all downloadable/usable here? I'm faily new/rough to the entire fontAwesome world... Used it lightly lately.

Thanks!

Dariusz1989 avatar Jan 11 '23 23:01 Dariusz1989

I agree this would be very nice. I will check this out. It should be possible to only include the icons you would like to use.

gamecreature avatar Jan 12 '23 07:01 gamecreature

@Dariusz1989 You should copy the pro-font icons to the QtAwesome/fonts/pro directory. Those aren't included because these are licensed. This project includes the free version of the font files.

gamecreature avatar Jan 12 '23 18:01 gamecreature

From the qtAwesome website? Yeh I think so, I'm just confused if the downloads actually download all 19k icons? In the otf format?

As to python lib, I wonder if we can somehow use the materialdesignicons5, remixicon, elusiveicons, codicon, etc too even tho they are ttf and not otf format? I'm guessing as they are in that repo they are "free" to use... so can This c++ lib read these formats, provide them too ?

Dariusz1989 avatar Jan 12 '23 18:01 Dariusz1989

Currently this library is FontAwesome based. It doesn't have direct support for other fonts. (Though it's on the Wishlist to build this in)

The library has two modes a free mode and a pro mode. The free mode can be used directly, all FontAwesome free icons are included README.md

The pro-mode requires the FontAwesome pro files, which requires a license you can acquire at fontAwesome.com. You get a download with the pro-fonts there.

QtAwesome is an opensource library and doesn't supply any of the pro files directly, though it supports the usage of the pro font files.

gamecreature avatar Jan 12 '23 19:01 gamecreature

Hmm so we cant read other fonts with it then ?

Dariusz1989 avatar Jan 12 '23 19:01 Dariusz1989

At moment no you can't directly. Though you can adjust some code, and generate the icon-maps for the specific font.

gamecreature avatar Jan 13 '23 06:01 gamecreature