gamecreature / QtAwesome

QtAwesome - Font Awesome for Qt Applications
Other
787 stars 149 forks source link

Can QtAwesome read Python fotnAwesome icons? #46

Open Dariusz1989 opened 1 year ago

Dariusz1989 commented 1 year ago

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!

gamecreature commented 1 year ago

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 commented 1 year ago

@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.

Dariusz1989 commented 1 year ago

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 ?

gamecreature commented 1 year ago

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.

Dariusz1989 commented 1 year ago

Hmm so we cant read other fonts with it then ?

gamecreature commented 1 year ago

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